[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 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.ingress.ingressClassName }}
|
||||||
|
ingressClassName: {{ .Values.ingress.ingressClassName }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.ingress.tls }}
|
{{- if .Values.ingress.tls }}
|
||||||
tls:
|
tls:
|
||||||
{{- range .Values.ingress.tls }}
|
{{- range .Values.ingress.tls }}
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,7 @@ ingress:
|
||||||
{}
|
{}
|
||||||
# kubernetes.io/ingress.class: nginx
|
# kubernetes.io/ingress.class: nginx
|
||||||
# kubernetes.io/tls-acme: "true"
|
# kubernetes.io/tls-acme: "true"
|
||||||
|
ingressClassName: ""
|
||||||
hosts:
|
hosts:
|
||||||
- host: ui.example.org
|
- host: ui.example.org
|
||||||
paths: [""]
|
paths: [""]
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
application: "postgres-operator-ui"
|
application: "postgres-operator-ui"
|
||||||
spec:
|
spec:
|
||||||
|
# ingressClassName: "ingress-nginx"
|
||||||
rules:
|
rules:
|
||||||
- host: "ui.example.org"
|
- host: "ui.example.org"
|
||||||
http:
|
http:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue