From b2038b88edcfeb9fa396145ab3788982937877be Mon Sep 17 00:00:00 2001 From: "attar.sh" Date: Mon, 27 Sep 2021 17:26:10 +0900 Subject: [PATCH] feat: Add hostAliases to dex/deployment based on https://github.com/argoproj/argo-helm/pull/274 Signed-off-by: Sinhyeok --- charts/argo-cd/templates/dex/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/argo-cd/templates/dex/deployment.yaml b/charts/argo-cd/templates/dex/deployment.yaml index 5fe78628..c2389e5f 100755 --- a/charts/argo-cd/templates/dex/deployment.yaml +++ b/charts/argo-cd/templates/dex/deployment.yaml @@ -127,6 +127,10 @@ spec: {{- end }} {{- end }} serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }} +{{- with .Values.global.hostAliases }} + hostAliases: +{{ toYaml . | indent 6 }} +{{- end }} volumes: - emptyDir: {} name: tmp-dir