From 91558cbb57d116a31f6c65b92ed4c290f26b819d Mon Sep 17 00:00:00 2001 From: Tomislav Plavcic Date: Tue, 9 Jan 2024 18:21:24 +0100 Subject: [PATCH] K8SPG-495 - Fix watchAllNamespaces for pg-operator chart --- charts/pg-operator/Chart.yaml | 2 +- charts/pg-operator/README.md | 2 +- charts/pg-operator/templates/deployment.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/pg-operator/Chart.yaml b/charts/pg-operator/Chart.yaml index 4a835f57..7817a3b0 100644 --- a/charts/pg-operator/Chart.yaml +++ b/charts/pg-operator/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: pg-operator description: 'A Helm chart to deploy the Percona Operator for PostgreSQL' type: application -version: 2.3.0 +version: 2.3.1 appVersion: 2.3.0 home: https://docs.percona.com/percona-operator-for-postgresql/2.0/ maintainers: diff --git a/charts/pg-operator/README.md b/charts/pg-operator/README.md index d37d0d6e..8eb433c7 100644 --- a/charts/pg-operator/README.md +++ b/charts/pg-operator/README.md @@ -26,7 +26,7 @@ To install the chart with the `pg-operator` release name using a dedicated names ```sh helm repo add percona https://percona.github.io/percona-helm-charts/ -helm install my-operator percona/pg-operator --version 2.3.0 --namespace my-namespace --create-namespace +helm install my-operator percona/pg-operator --version 2.3.1 --namespace my-namespace --create-namespace ``` ## Configuration diff --git a/charts/pg-operator/templates/deployment.yaml b/charts/pg-operator/templates/deployment.yaml index 51f71d3d..d658e4e0 100644 --- a/charts/pg-operator/templates/deployment.yaml +++ b/charts/pg-operator/templates/deployment.yaml @@ -52,6 +52,9 @@ spec: {{- else if .Values.watchNamespace }} - name: WATCH_NAMESPACE value: {{ .Values.watchNamespace }} + {{- else if .Values.watchAllNamespaces }} + - name: WATCH_NAMESPACE + value: "" {{- end }} - name: LOG_STRUCTURED value: "{{ .Values.logStructured }}"