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>
pull/1928/head^2 argo-cd-5.27.4
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

@ -3,7 +3,7 @@ appVersion: v2.6.7
kubeVersion: ">=1.22.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.27.3
version: 5.27.4
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -23,5 +23,5 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- kind: changed
description: Update Github RSA SSH public key
- kind: fixed
description: Surround with if hostNetwork field to disable it when is set to false

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 }}

View File

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

View File

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