From 5d9cd08ca133878bccd7efc6f6744651d914bbe0 Mon Sep 17 00:00:00 2001 From: keerthibingi Date: Wed, 21 Aug 2024 13:31:57 +0530 Subject: [PATCH 1/2] Parameterising init images --- charts/spinnaker/templates/statefulsets/halyard.yaml | 4 ++-- charts/spinnaker/values.yaml | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/charts/spinnaker/templates/statefulsets/halyard.yaml b/charts/spinnaker/templates/statefulsets/halyard.yaml index c99903b..50902ac 100644 --- a/charts/spinnaker/templates/statefulsets/halyard.yaml +++ b/charts/spinnaker/templates/statefulsets/halyard.yaml @@ -41,7 +41,7 @@ spec: initContainers: - name: "create-halyard-local" {{- if .Values.halyard.gitops.enabled }} - image: quay.io/opsmxpublic/awsgit:v3-js + image: {{ .Values.createHalyardLocal.image.repository }}:{{ .Values.createHalyardLocal.image.tag }} {{- else }} image: {{ .Values.halyard.image.repository }}:{{ .Values.halyard.image.tag }} {{- end }} @@ -140,7 +140,7 @@ spec: command: - sh - /tmp/akv2k8s/run.sh - image: quay.io/opsmxpublic/k8s-decoder:hal + image: {{ .Values.halyardconfigUpdate.image.repository }}:{{ .Values.halyardconfigUpdate.image.tag }} imagePullPolicy: IfNotPresent resources: {} volumeMounts: diff --git a/charts/spinnaker/values.yaml b/charts/spinnaker/values.yaml index ad6b673..08c1d25 100644 --- a/charts/spinnaker/values.yaml +++ b/charts/spinnaker/values.yaml @@ -6,6 +6,15 @@ global: # Only update this is using a private repo such as ACR, ECR, GCR, JFrog, etc. customImages: registry: quay.io/opsmxpublic +#init-containers +createHalyardLocal: + image: + repository: quay.io/opsmxpublic/awsgit + tag: v3-js +halyardconfigUpdate: + image: + repository: quay.io/opsmxpublic/k8s-decoder + tag: hal halyard: gitops: From a2653ef9ad243afc68c5e5a294ed2166bb86fb33 Mon Sep 17 00:00:00 2001 From: keerthibingi Date: Wed, 21 Aug 2024 14:26:29 +0530 Subject: [PATCH 2/2] Releasing 2.2.19 chart --- charts/spinnaker/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/spinnaker/Chart.yaml b/charts/spinnaker/Chart.yaml index 560527f..1846175 100644 --- a/charts/spinnaker/Chart.yaml +++ b/charts/spinnaker/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 description: Open source Spinnaker with v1.30.1 Gitops Support name: spinnaker -version: 2.2.18 +version: 2.2.19 appVersion: 1.30.1 home: http://spinnaker.io/ sources: