Skip to content

Commit

Permalink
Updating init image tag in helm charts, tests and env vars (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja authored Dec 23, 2024
1 parent 4400c5e commit 5121160
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion helm-charts/aerospike-kubernetes-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions test/cluster/podspec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 )"
Expand Down

0 comments on commit 5121160

Please sign in to comment.