[UI] add ingressClassName (#1787)
* feat: add ingressClassName Signed-off-by: Matthias Teich <matthias.teich@gdata.de> * Update example manifest Signed-off-by: Matthias Teich <matthias.teich@gdata.de> * Update ui/manifests/ingress.yaml Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
parent
d6641a9b0f
commit
cc26861519
|
|
@ -23,6 +23,9 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.ingress.ingressClassName }}
|
||||
ingressClassName: {{ .Values.ingress.ingressClassName }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.tls }}
|
||||
tls:
|
||||
{{- range .Values.ingress.tls }}
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ ingress:
|
|||
{}
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
# kubernetes.io/tls-acme: "true"
|
||||
ingressClassName: ""
|
||||
hosts:
|
||||
- host: ui.example.org
|
||||
paths: [""]
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ metadata:
|
|||
labels:
|
||||
application: "postgres-operator-ui"
|
||||
spec:
|
||||
# ingressClassName: "ingress-nginx"
|
||||
rules:
|
||||
- host: "ui.example.org"
|
||||
http:
|
||||
|
|
|
|||
Loading…
Reference in New Issue