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 name: argocd-server
namespace: argocd namespace: argocd
annotations: annotations:
{{- if $.Values.global.ingressAnnotations -}} self/managed: "true"
{{ if $.Values.global.ingressAnnotations }}
{{- range $k, $v := $.Values.global.ingressAnnotations }} {{- range $k, $v := $.Values.global.ingressAnnotations }}
{{ $k -}}: "{{- $v -}}" {{ $k -}}: "{{- $v -}}"
{{- end }} {{- end }}
@@ -35,9 +36,9 @@ spec:
number: 80 number: 80
path: / path: /
pathType: Prefix pathType: Prefix
{{- if $.Values.global.tlsEnable }} {{ if $.Values.global.tlsEnable }}
tls: tls:
- secretName: "argo-cert" - secretName: "argo-cert"
hosts: hosts:
- "argocd.{{ $.Values.global.domain }}" - "argocd.{{ $.Values.global.domain }}"
{{- end }} {{ end }}