From aec2803d53204de13d165d9baeb73ee867c485e5 Mon Sep 17 00:00:00 2001 From: iam-veeramalla Date: Tue, 26 Sep 2023 10:34:49 +0530 Subject: [PATCH] fix: use latest keycloak image to handle performance issue Signed-off-by: iam-veeramalla --- common/defaults.go | 4 ++-- controllers/argocd/keycloak_test.go | 4 ++-- tests/ocp/1-001_validate_rhsso/01-assert.yaml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/defaults.go b/common/defaults.go index 4a420e02f..2912428e8 100644 --- a/common/defaults.go +++ b/common/defaults.go @@ -186,8 +186,8 @@ const ( ArgoCDKeycloakImageForOpenShift = "registry.redhat.io/rh-sso-7/sso76-openshift-rhel8" // ArgoCDKeycloakVersionForOpenShift is the default Keycloak version used for the OpenShift platform when not specified. - // Version: 7.6-25 - ArgoCDKeycloakVersionForOpenShift = "sha256:bb6dc12a49370ba6baa40cfa064238cddcfd1edb22c37dcdf53d331c0f7ee15d" + // Version: 7.6-32 + ArgoCDKeycloakVersionForOpenShift = "sha256:ec9f60018694dcc5d431ba47d5536b761b71cb3f66684978fe6bb74c157679ac" // ArgoCDDefaultOIDCConfig is the default OIDC configuration. ArgoCDDefaultOIDCConfig = "" diff --git a/controllers/argocd/keycloak_test.go b/controllers/argocd/keycloak_test.go index d89ccb152..c6d65fdda 100644 --- a/controllers/argocd/keycloak_test.go +++ b/controllers/argocd/keycloak_test.go @@ -113,7 +113,7 @@ func TestKeycloakContainerImage(t *testing.T) { }), updateCrFunc: nil, templateAPIFound: true, - wantContainerImage: "registry.redhat.io/rh-sso-7/sso76-openshift-rhel8@sha256:bb6dc12a49370ba6baa40cfa064238cddcfd1edb22c37dcdf53d331c0f7ee15d", + wantContainerImage: "registry.redhat.io/rh-sso-7/sso76-openshift-rhel8@sha256:ec9f60018694dcc5d431ba47d5536b761b71cb3f66684978fe6bb74c157679ac", }, { name: "ArgoCDKeycloakImageEnvName env var set", @@ -249,7 +249,7 @@ func TestNewKeycloakTemplate_testKeycloakContainer(t *testing.T) { } kc := getKeycloakContainer(a) assert.Equal(t, - "registry.redhat.io/rh-sso-7/sso76-openshift-rhel8@sha256:bb6dc12a49370ba6baa40cfa064238cddcfd1edb22c37dcdf53d331c0f7ee15d", kc.Image) + "registry.redhat.io/rh-sso-7/sso76-openshift-rhel8@sha256:ec9f60018694dcc5d431ba47d5536b761b71cb3f66684978fe6bb74c157679ac", kc.Image) assert.Equal(t, corev1.PullAlways, kc.ImagePullPolicy) assert.Equal(t, "${APPLICATION_NAME}", kc.Name) } diff --git a/tests/ocp/1-001_validate_rhsso/01-assert.yaml b/tests/ocp/1-001_validate_rhsso/01-assert.yaml index c0586f98b..5c2173e61 100644 --- a/tests/ocp/1-001_validate_rhsso/01-assert.yaml +++ b/tests/ocp/1-001_validate_rhsso/01-assert.yaml @@ -33,7 +33,7 @@ spec: name: keycloak spec: containers: - - image: registry.redhat.io/rh-sso-7/sso76-openshift-rhel8@sha256:bb6dc12a49370ba6baa40cfa064238cddcfd1edb22c37dcdf53d331c0f7ee15d + - image: registry.redhat.io/rh-sso-7/sso76-openshift-rhel8@sha256:ec9f60018694dcc5d431ba47d5536b761b71cb3f66684978fe6bb74c157679ac resources: limits: cpu: "1"