From 601c0a2d24a0b81956e2996d00a313178da2e23b Mon Sep 17 00:00:00 2001 From: nickboldt Date: Tue, 7 May 2019 08:18:43 -0400 Subject: [PATCH] add notes about postgresql-96-rhel7 tag used in various places Change-Id: I3d84165a93bb8d329670bc7a89b5c26a37c90aeb Signed-off-by: nickboldt --- deploy/crds/org_v1_che_cr.yaml | 2 +- pkg/apis/org/v1/che_types.go | 2 +- pkg/deploy/defaults.go | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy/crds/org_v1_che_cr.yaml b/deploy/crds/org_v1_che_cr.yaml index 363a08e0a..2503774cb 100644 --- a/deploy/crds/org_v1_che_cr.yaml +++ b/deploy/crds/org_v1_che_cr.yaml @@ -58,7 +58,7 @@ spec: chePostgresPassword: '' # Postgres database name that Che server uses to connect to. Defaults to dbche chePostgresDb: '' - # Postgres deployment in format image:tag. Defaults to registry.access.redhat.com/rhscl/postgresql-96-rhel7:1-25 + # Postgres deployment in format image:tag. Defaults to registry.access.redhat.com/rhscl/postgresql-96-rhel7 (see pkg/deploy/defaults.go for latest tag) postgresImage: '' storage: # persistent volume claim strategy for Che server. Can be common (all workspaces PVCs in one volume), diff --git a/pkg/apis/org/v1/che_types.go b/pkg/apis/org/v1/che_types.go index 2f86be387..16d45ccf7 100644 --- a/pkg/apis/org/v1/che_types.go +++ b/pkg/apis/org/v1/che_types.go @@ -81,7 +81,7 @@ type CheClusterSpecDB struct { ChePostgresPassword string `json:"chePostgresPassword"` // ChePostgresDb is Postgres database name that Che server uses to connect to. Defaults to dbche ChePostgresDb string `json:"chePostgresDb"` - // PostgresImage is an image used in Postgres deployment in format image:tag. Defaults to registry.access.redhat.com/rhscl/postgresql-96-rhel7:1-25 + // PostgresImage is an image used in Postgres deployment in format image:tag. Defaults to registry.access.redhat.com/rhscl/postgresql-96-rhel7 (see pkg/deploy/defaults.go for latest tag) PostgresImage string `json:"postgresImage"` } diff --git a/pkg/deploy/defaults.go b/pkg/deploy/defaults.go index df1b3858d..089ab1b56 100644 --- a/pkg/deploy/defaults.go +++ b/pkg/deploy/defaults.go @@ -9,6 +9,7 @@ // Contributors: // Red Hat, Inc. - initial API and implementation // +// REMINDER: when updating versions below, see also pkg/apis/org/v1/che_types.go and deploy/crds/org_v1_che_cr.yaml package deploy const (