Red Hat Marketplace requires operators to use environment variables be used for any image other than the operator itself. Those variables must start with "RELATED_IMAGE_" so that OSBS can transform their tag values into digests for a "disconnected" OLM CSV. - https://redhat-connect.gitbook.io/certif
(cluster *v1beta1.PostgresCluster)
| 29 | |
| 30 | // PGBackRestContainerImage returns the container image to use for pgBackRest. |
| 31 | func PGBackRestContainerImage(cluster *v1beta1.PostgresCluster) string { |
| 32 | image := cluster.Spec.Backups.PGBackRest.Image |
| 33 | |
| 34 | return defaultFromEnv(image, "RELATED_IMAGE_PGBACKREST") |
| 35 | } |
| 36 | |
| 37 | // PGAdminContainerImage returns the container image to use for pgAdmin. |
| 38 | func PGAdminContainerImage(cluster *v1beta1.PostgresCluster) string { |