mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 22:01:37 +02:00
[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:
co-authored by
Felix Kunde
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:
|
||||
|
||||
Reference in New Issue
Block a user