Skip to content

Commit

Permalink
K8SPG-495 - Fix watchAllNamespaces for pg-operator chart
Browse files Browse the repository at this point in the history
  • Loading branch information
tplavcic committed Jan 9, 2024
1 parent 5851421 commit 91558cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/pg-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion charts/pg-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions charts/pg-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit 91558cb

Please sign in to comment.