templates fix

This commit is contained in:
ari committed 2023-03-16 01:47:10 +00:00
1 parent 1be021c986
commit 36ccd2048c
1 file changed
+8 -7
+8 -7
View File
@@ -18,7 +18,8 @@ metadata:
name: argocd-server
namespace: argocd
annotations:
{{- if $.Values.global.ingressAnnotations -}}
self/managed: "true"
{{ if $.Values.global.ingressAnnotations }}
{{- range $k, $v := $.Values.global.ingressAnnotations }}
{{ $k -}}: "{{- $v -}}"
{{- end }}
@@ -35,9 +36,9 @@ spec:
number: 80
path: /
pathType: Prefix
{{- if $.Values.global.tlsEnable }}
tls:
- secretName: "argo-cert"
hosts:
- "argocd.{{ $.Values.global.domain }}"
{{- end }}
{{ if $.Values.global.tlsEnable }}
tls:
- secretName: "argo-cert"
hosts:
- "argocd.{{ $.Values.global.domain }}"
{{ end }}