fix(argo-cd): Also add hostAliases to dex deployment (#941)

* feat: Add hostAliases to dex/deployment

based on https://github.com/argoproj/argo-helm/pull/274

Signed-off-by: Sinhyeok <sinhyeok@gmail.com>

* Bumped version number of argo-cd chart

Signed-off-by: Sinhyeok <sinhyeok@gmail.com>

* Beautify indentation

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Beautify indentation of existing implementation

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Update changelog

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: attar.sh <attar.sh@kakaobank.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Seo, Sinhyeok 2021-09-27 19:04:14 +09:00 committed by GitHub
parent 735f212f96
commit 263919a8a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 11 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.1.2 appVersion: 2.1.2
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 3.21.0 version: 3.21.1
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-cd/assets/logo.png icon: https://argoproj.github.io/argo-cd/assets/logo.png
keywords: keywords:
@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled condition: redis-ha.enabled
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Added]: Ability to provide cluster role to repo-server" - "[Fixed]: Dex deployment now also supports hostAliases"

View file

@ -135,7 +135,7 @@ spec:
serviceAccountName: {{ template "argo-cd.controllerServiceAccountName" . }} serviceAccountName: {{ template "argo-cd.controllerServiceAccountName" . }}
{{- with .Values.global.hostAliases }} {{- with .Values.global.hostAliases }}
hostAliases: hostAliases:
{{ toYaml . | indent 6 }} {{- toYaml . | nindent 6 }}
{{- end }} {{- end }}
volumes: volumes:
- emptyDir: {} - emptyDir: {}

View file

@ -143,7 +143,7 @@ spec:
serviceAccountName: {{ template "argo-cd.repoServerServiceAccountName" . }} serviceAccountName: {{ template "argo-cd.repoServerServiceAccountName" . }}
{{- with .Values.global.hostAliases }} {{- with .Values.global.hostAliases }}
hostAliases: hostAliases:
{{ toYaml . | indent 6 }} {{- toYaml . | nindent 6 }}
{{- end }} {{- end }}
volumes: volumes:
{{- if .Values.repoServer.volumes }} {{- if .Values.repoServer.volumes }}

View file

@ -154,7 +154,7 @@ spec:
serviceAccountName: {{ template "argo-cd.serverServiceAccountName" . }} serviceAccountName: {{ template "argo-cd.serverServiceAccountName" . }}
{{- with .Values.global.hostAliases }} {{- with .Values.global.hostAliases }}
hostAliases: hostAliases:
{{ toYaml . | indent 6 }} {{- toYaml . | nindent 6 }}
{{- end }} {{- end }}
volumes: volumes:
{{- if .Values.server.volumes }} {{- if .Values.server.volumes }}

View file

@ -127,6 +127,10 @@ spec:
{{- end }} {{- end }}
{{- end }} {{- end }}
serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }} serviceAccountName: {{ template "argo-cd.dexServiceAccountName" . }}
{{- with .Values.global.hostAliases }}
hostAliases:
{{- toYaml . | nindent 6 }}
{{- end }}
volumes: volumes:
- emptyDir: {} - emptyDir: {}
name: tmp-dir name: tmp-dir