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

pull/108/head
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:

View File

@ -64,8 +64,7 @@ ingress:
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
path: /
hosts:
- argocd.example.com
additionalHosts: []
clusterAdminAccess:
enabled: true
config: