From a3fc3d98201e64d62dbad1efc2f3615b8112caed Mon Sep 17 00:00:00 2001 From: Matthias Teich Date: Thu, 17 Feb 2022 14:43:29 +0100 Subject: [PATCH 1/3] feat: add ingressClassName Signed-off-by: Matthias Teich --- charts/postgres-operator-ui/Chart.yaml | 2 +- charts/postgres-operator-ui/templates/ingress.yaml | 3 +++ charts/postgres-operator-ui/values.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/postgres-operator-ui/Chart.yaml b/charts/postgres-operator-ui/Chart.yaml index 9e38f218a..2176c1af8 100644 --- a/charts/postgres-operator-ui/Chart.yaml +++ b/charts/postgres-operator-ui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: postgres-operator-ui -version: 1.7.1 +version: 1.8.0 appVersion: 1.7.1 home: https://github.com/zalando/postgres-operator description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience diff --git a/charts/postgres-operator-ui/templates/ingress.yaml b/charts/postgres-operator-ui/templates/ingress.yaml index 21e7dbea2..37b47a6c5 100644 --- a/charts/postgres-operator-ui/templates/ingress.yaml +++ b/charts/postgres-operator-ui/templates/ingress.yaml @@ -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 }} diff --git a/charts/postgres-operator-ui/values.yaml b/charts/postgres-operator-ui/values.yaml index ff1555b13..c8353667e 100644 --- a/charts/postgres-operator-ui/values.yaml +++ b/charts/postgres-operator-ui/values.yaml @@ -93,6 +93,7 @@ ingress: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" + ingressClassName: "" hosts: - host: ui.example.org paths: [""] From b2c8d8332708a34bf81577f1a78e781bef27a8e9 Mon Sep 17 00:00:00 2001 From: Matthias Teich Date: Fri, 18 Mar 2022 07:42:13 +0100 Subject: [PATCH 2/3] Update example manifest Signed-off-by: Matthias Teich --- charts/postgres-operator-ui/Chart.yaml | 2 +- ui/manifests/ingress.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/postgres-operator-ui/Chart.yaml b/charts/postgres-operator-ui/Chart.yaml index 2176c1af8..9e38f218a 100644 --- a/charts/postgres-operator-ui/Chart.yaml +++ b/charts/postgres-operator-ui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: postgres-operator-ui -version: 1.8.0 +version: 1.7.1 appVersion: 1.7.1 home: https://github.com/zalando/postgres-operator description: Postgres Operator UI provides a graphical interface for a convenient database-as-a-service user experience diff --git a/ui/manifests/ingress.yaml b/ui/manifests/ingress.yaml index a5e6f0fab..6bfeca17f 100644 --- a/ui/manifests/ingress.yaml +++ b/ui/manifests/ingress.yaml @@ -6,6 +6,7 @@ metadata: labels: application: "postgres-operator-ui" spec: + ingressClassName: "ingress-nginx" rules: - host: "ui.example.org" http: From 3b624f50363abbbfd1ad0c15ee23831cbf5a3341 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Fri, 25 Mar 2022 14:46:57 +0100 Subject: [PATCH 3/3] Update ui/manifests/ingress.yaml --- ui/manifests/ingress.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/manifests/ingress.yaml b/ui/manifests/ingress.yaml index 6bfeca17f..53be1f45b 100644 --- a/ui/manifests/ingress.yaml +++ b/ui/manifests/ingress.yaml @@ -6,7 +6,7 @@ metadata: labels: application: "postgres-operator-ui" spec: - ingressClassName: "ingress-nginx" + # ingressClassName: "ingress-nginx" rules: - host: "ui.example.org" http: