From 9ecb56d86d49d3b29178c4a70dc965ca4393889c Mon Sep 17 00:00:00 2001 From: Glen Johnson Date: Mon, 8 Apr 2024 10:03:58 -0600 Subject: [PATCH 1/2] Bump default image version --- e2e/helm_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/helm_test.go b/e2e/helm_test.go index 60693e51..0584941d 100644 --- a/e2e/helm_test.go +++ b/e2e/helm_test.go @@ -323,7 +323,7 @@ func TestHelmRbacDefaultsSuccessful(t *testing.T) { job, err := GetJob(cfg.Client(), "secrets-provider") assert.Nil(t, err) - assert.Contains(t, job.Spec.Template.Spec.Containers[0].Image, "cyberark/secrets-provider-for-k8s:1.6.3") + assert.Contains(t, job.Spec.Template.Spec.Containers[0].Image, "cyberark/secrets-provider-for-k8s:1.6.4") assert.Equal(t, int32(1), job.Status.Succeeded) return ctx From 961f233372cfcdc736f46095181c3f03dc4c63ef Mon Sep 17 00:00:00 2001 From: Glen Johnson Date: Mon, 8 Apr 2024 11:07:27 -0600 Subject: [PATCH 2/2] Use latest --- e2e/helm_test.go | 2 +- helm/secrets-provider/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/helm_test.go b/e2e/helm_test.go index 0584941d..d620befe 100644 --- a/e2e/helm_test.go +++ b/e2e/helm_test.go @@ -323,7 +323,7 @@ func TestHelmRbacDefaultsSuccessful(t *testing.T) { job, err := GetJob(cfg.Client(), "secrets-provider") assert.Nil(t, err) - assert.Contains(t, job.Spec.Template.Spec.Containers[0].Image, "cyberark/secrets-provider-for-k8s:1.6.4") + assert.Contains(t, job.Spec.Template.Spec.Containers[0].Image, "cyberark/secrets-provider-for-k8s:latest") assert.Equal(t, int32(1), job.Status.Succeeded) return ctx diff --git a/helm/secrets-provider/values.yaml b/helm/secrets-provider/values.yaml index 8dd1e06a..5d800b54 100644 --- a/helm/secrets-provider/values.yaml +++ b/helm/secrets-provider/values.yaml @@ -12,7 +12,7 @@ rbac: secretsProvider: image: docker.io/cyberark/secrets-provider-for-k8s - tag: 1.6.4 + tag: latest imagePullPolicy: IfNotPresent # Container name name: cyberark-secrets-provider-for-k8s