[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:
Matthias Teich 2022-03-25 14:56:06 +01:00 committed by GitHub
parent d6641a9b0f
commit cc26861519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 0 deletions

View File

@ -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 }}

View File

@ -93,6 +93,7 @@ ingress:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
ingressClassName: ""
hosts:
- host: ui.example.org
paths: [""]

View File

@ -6,6 +6,7 @@ metadata:
labels:
application: "postgres-operator-ui"
spec:
# ingressClassName: "ingress-nginx"
rules:
- host: "ui.example.org"
http: