Skip to content

Commit

Permalink
Merge pull request #58 from keerthibingi/main
Browse files Browse the repository at this point in the history
Parameterising init images
  • Loading branch information
keerthibingi authored Aug 21, 2024
2 parents 21a5c01 + a2653ef commit a34cd24
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/spinnaker/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
4 changes: 2 additions & 2 deletions charts/spinnaker/templates/statefulsets/halyard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand Down
9 changes: 9 additions & 0 deletions charts/spinnaker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a34cd24

Please sign in to comment.