Use Argo CD URL as first ingress host (#106)

This commit is contained in:
Yann Soubeyrand 2019-09-13 19:58:27 +02:00 committed by Alex Collins
parent 65fab695fe
commit fca7065e5e
2 changed files with 11 additions and 3 deletions

View file

@ -17,7 +17,16 @@ metadata:
{{- end }}
spec:
rules:
{{- range .Values.ingress.hosts }}
{{- with .Values.config.url }}
- host: {{ . | quote }}
http:
paths:
- path: {{ $ingressPath }}
backend:
serviceName: argocd-server
servicePort: {{ $servicePortHttps }}
{{- end }}
{{- range .Values.ingress.additionalHosts }}
- host: {{ . | quote }}
http:
paths: