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:
parent
3351b30ee6
commit
32d86666be
5 changed files with 41 additions and 3 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue