Add support for additional initContainers and additional volume/volumeMounts (#1542)

fix github action to handle crd installation correctly

Signed-off-by: bakito <github@bakito.ch>

Signed-off-by: bakito <github@bakito.ch>
This commit is contained in:
Marc Brugger 2022-10-12 00:19:24 +02:00 committed by GitHub
parent 3351b30ee6
commit 32d86666be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 41 additions and 3 deletions

View file

@ -138,6 +138,9 @@ spec:
- mountPath: /scripts
name: authscripts
{{- end }}
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 10}}
{{- end }}
volumes:
- configMap:
items:
@ -164,6 +167,9 @@ spec:
name: argocd-image-updater-ssh-config
optional: true
name: ssh-config
{{- with .Values.volumes }}
{{- toYaml . | nindent 6}}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
@ -176,3 +182,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.initContainers }}
initContainers:
{{- toYaml . | nindent 6 }}
{{- end }}