From 71678ba640f7070ef2d58c9bc4ca8d1ad5d48e49 Mon Sep 17 00:00:00 2001 From: Tanmay Jain Date: Mon, 23 Dec 2024 16:59:04 +0530 Subject: [PATCH] Updating init image tag in helm charts, tests and env vars --- Jenkinsfile | 2 +- config/manager/manager.yaml | 2 +- helm-charts/aerospike-kubernetes-operator/values.yaml | 2 +- test/cluster/podspec_test.go | 4 ++-- test/test.sh | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2d02c3bb..082d1e9c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { AEROSPIKE_CUSTOM_INIT_REGISTRY="568976754000.dkr.ecr.ap-south-1.amazonaws.com" AEROSPIKE_CUSTOM_INIT_REGISTRY_NAMESPACE="aerospike" - AEROSPIKE_CUSTOM_INIT_NAME_TAG="aerospike-kubernetes-init:2.2.2" + AEROSPIKE_CUSTOM_INIT_NAME_TAG="aerospike-kubernetes-init:2.2.3" } stages { diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 521c4594..045f2311 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -66,7 +66,7 @@ spec: value: aerospike - name: AEROSPIKE_KUBERNETES_INIT_NAME_TAG # this is the name and tag of aerospike-init image - value: aerospike-kubernetes-init:2.2.2 + value: aerospike-kubernetes-init:2.2.3 serviceAccountName: controller-manager terminationGracePeriodSeconds: 10 diff --git a/helm-charts/aerospike-kubernetes-operator/values.yaml b/helm-charts/aerospike-kubernetes-operator/values.yaml index 4cdab5b0..3bc6c50d 100644 --- a/helm-charts/aerospike-kubernetes-operator/values.yaml +++ b/helm-charts/aerospike-kubernetes-operator/values.yaml @@ -37,7 +37,7 @@ aerospikeKubernetesInitRegistry: "docker.io" aerospikeKubernetesInitRegistryNamespace: "aerospike" # Name and tag of aerospike-init image -aerospikeKubernetesInitNameTag: "aerospike-kubernetes-init:2.2.2" +aerospikeKubernetesInitNameTag: "aerospike-kubernetes-init:2.2.3" ## Resources - limits / requests resources: diff --git a/test/cluster/podspec_test.go b/test/cluster/podspec_test.go index 6c36aa9c..614f682a 100644 --- a/test/cluster/podspec_test.go +++ b/test/cluster/podspec_test.go @@ -459,7 +459,7 @@ var _ = Describe( "Should be able to set/update aerospike-init custom registry, namespace and name", func() { operatorEnvVarRegistry := "docker.io" operatorEnvVarRegistryNamespace := "aerospike" - operatorEnvVarNameAndTag := "aerospike-kubernetes-init:2.2.2" + operatorEnvVarNameAndTag := "aerospike-kubernetes-init:2.2.3" customRegistry := getEnvVar(customInitRegistryEnvVar) customRegistryNamespace := getEnvVar(customInitRegistryNamespaceEnvVar) customInitNameAndTag := getEnvVar(customInitNameAndTagEnvVar) @@ -516,7 +516,7 @@ var _ = Describe( func() { operatorEnvVarRegistry := "docker.io" operatorEnvVarRegistryNamespace := "aerospike" - operatorEnvVarNameAndTag := "aerospike-kubernetes-init:2.2.2" + operatorEnvVarNameAndTag := "aerospike-kubernetes-init:2.2.3" incorrectCustomRegistryNamespace := "incorrectnamespace" By("Using incorrect registry namespace in CR") diff --git a/test/test.sh b/test/test.sh index 926e50d9..6c5cfa13 100755 --- a/test/test.sh +++ b/test/test.sh @@ -30,7 +30,7 @@ done CRED_PATH=${CRED_PATH:-$HOME/.docker/config.json} REGISTRY=${REGISTRY:-568976754000.dkr.ecr.ap-south-1.amazonaws.com} REGISTRY_NAMESPACE=${REGISTRY_NAMESPACE:-aerospike} -INIT_IMAGE_NAME_TAG=${INIT_IMAGE_NAME_TAG:-aerospike-kubernetes-init:2.2.2} +INIT_IMAGE_NAME_TAG=${INIT_IMAGE_NAME_TAG:-aerospike-kubernetes-init:2.2.3} DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"