fix(argo-cd): Disable hostNetwork field when is set to false (#1934)
* fix(argo-cd): fix host network configuration Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com> * update changelog Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com> --------- Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com>
This commit is contained in:
parent
d959c79775
commit
d34a376568
4 changed files with 9 additions and 3 deletions
|
@ -3,7 +3,7 @@ appVersion: v2.6.7
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.27.3
|
version: 5.27.4
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -23,5 +23,5 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Update Github RSA SSH public key
|
description: Surround with if hostNetwork field to disable it when is set to false
|
||||||
|
|
|
@ -312,7 +312,9 @@ spec:
|
||||||
path: tls.key
|
path: tls.key
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
|
{{- if .Values.controller.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.controller.hostNetwork }}
|
hostNetwork: {{ .Values.controller.hostNetwork }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.controller.dnsConfig }}
|
{{- with .Values.controller.dnsConfig }}
|
||||||
dnsConfig:
|
dnsConfig:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -355,7 +355,9 @@ spec:
|
||||||
path: tls.key
|
path: tls.key
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
|
{{- if .Values.repoServer.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.repoServer.hostNetwork }}
|
hostNetwork: {{ .Values.repoServer.hostNetwork }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.repoServer.dnsConfig }}
|
{{- with .Values.repoServer.dnsConfig }}
|
||||||
dnsConfig:
|
dnsConfig:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -421,7 +421,9 @@ spec:
|
||||||
path: tls.crt
|
path: tls.crt
|
||||||
- key: ca.crt
|
- key: ca.crt
|
||||||
path: ca.crt
|
path: ca.crt
|
||||||
|
{{- if .Values.server.hostNetwork }}
|
||||||
hostNetwork: {{ .Values.server.hostNetwork }}
|
hostNetwork: {{ .Values.server.hostNetwork }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.server.dnsConfig }}
|
{{- with .Values.server.dnsConfig }}
|
||||||
dnsConfig:
|
dnsConfig:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
Loading…
Reference in a new issue