feat(argo-cd): Add hostAliases to ApplicationSet Deployment (#1737)

Signed-off-by: Boris Gershanik <borbor154@gmail.com>
Signed-off-by: Boris Gershanik <boris@viber.com>
This commit is contained in:
Boris Gershanik 2022-12-29 13:49:10 +02:00 committed by GitHub
parent 2204f028b9
commit fbc8cb263c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -40,6 +40,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "argo-cd.applicationSetServiceAccountName" . }}
{{- with .Values.global.hostAliases }}
hostAliases:
{{- toYaml . | nindent 6 }}
{{- end }}
containers:
- name: {{ .Values.applicationSet.name }}
image: {{ default .Values.global.image.repository .Values.applicationSet.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.applicationSet.image.tag }}