Use Argo CD URL as first ingress host (#106)
parent
65fab695fe
commit
fca7065e5e
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue