Use Argo CD URL as first ingress host (#106)
This commit is contained in:
parent
65fab695fe
commit
fca7065e5e
2 changed files with 11 additions and 3 deletions
|
@ -17,7 +17,16 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
rules:
|
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 }}
|
- host: {{ . | quote }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -64,8 +64,7 @@ ingress:
|
||||||
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
# nginx.ingress.kubernetes.io/ssl-passthrough: "true"
|
||||||
path: /
|
path: /
|
||||||
hosts:
|
additionalHosts: []
|
||||||
- argocd.example.com
|
|
||||||
clusterAdminAccess:
|
clusterAdminAccess:
|
||||||
enabled: true
|
enabled: true
|
||||||
config:
|
config:
|
||||||
|
|
Loading…
Reference in a new issue