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:
LucasBoisserie 2023-03-28 15:48:09 +02:00 committed by GitHub
parent d959c79775
commit d34a376568
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 3 deletions

View file

@ -312,7 +312,9 @@ spec:
path: tls.key
- key: ca.crt
path: ca.crt
{{- if .Values.controller.hostNetwork }}
hostNetwork: {{ .Values.controller.hostNetwork }}
{{- end }}
{{- with .Values.controller.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}