diff --git a/charts/argo-cd/templates/argocd-application-controller/deployment.yaml b/charts/argo-cd/templates/argocd-application-controller/deployment.yaml index 90963613..b924ea41 100755 --- a/charts/argo-cd/templates/argocd-application-controller/deployment.yaml +++ b/charts/argo-cd/templates/argocd-application-controller/deployment.yaml @@ -133,10 +133,10 @@ spec: {{- end }} {{- end }} serviceAccountName: {{ template "argo-cd.controllerServiceAccountName" . }} -{{- with .Values.global.hostAliases }} + {{- with .Values.global.hostAliases }} hostAliases: -{{ toYaml . | indent 6 }} -{{- end }} + {{- toYaml . | nindent 6 }} + {{- end }} volumes: - emptyDir: {} name: argocd-home diff --git a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml index eabc1920..7ebb8991 100755 --- a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml @@ -141,10 +141,10 @@ spec: {{- end }} {{- end }} serviceAccountName: {{ template "argo-cd.repoServerServiceAccountName" . }} -{{- with .Values.global.hostAliases }} + {{- with .Values.global.hostAliases }} hostAliases: -{{ toYaml . | indent 6 }} -{{- end }} + {{- toYaml . | nindent 6 }} + {{- end }} volumes: {{- if .Values.repoServer.volumes }} {{- toYaml .Values.repoServer.volumes | nindent 6 }} diff --git a/charts/argo-cd/templates/argocd-server/deployment.yaml b/charts/argo-cd/templates/argocd-server/deployment.yaml index c84d9d95..38cd5cbf 100755 --- a/charts/argo-cd/templates/argocd-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-server/deployment.yaml @@ -152,10 +152,10 @@ spec: {{- end }} {{- end }} serviceAccountName: {{ template "argo-cd.serverServiceAccountName" . }} -{{- with .Values.global.hostAliases }} + {{- with .Values.global.hostAliases }} hostAliases: -{{ toYaml . | indent 6 }} -{{- end }} + {{- toYaml . | nindent 6 }} + {{- end }} volumes: {{- if .Values.server.volumes }} {{- toYaml .Values.server.volumes | nindent 6}} diff --git a/charts/argo-cd/templates/dex/deployment.yaml b/charts/argo-cd/templates/dex/deployment.yaml index 0cd181f6..17043a95 100755 --- a/charts/argo-cd/templates/dex/deployment.yaml +++ b/charts/argo-cd/templates/dex/deployment.yaml @@ -129,7 +129,7 @@ spec: serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }} {{- with .Values.global.hostAliases }} hostAliases: - {{ toYaml . | indent 6 }} + {{- toYaml . | nindent 6 }} {{- end }} volumes: - emptyDir: {}