File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed
Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : pg-db
33description : ' A Helm chart to deploy the PostgreSQL database with the Percona Operator for PostgreSQL'
44type : application
5- version : 2.3.17
5+ version : 2.3.18
66appVersion : 2.3.1
77home : https://docs.percona.com/percona-operator-for-postgresql/2.0/
88maintainers :
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ metadata:
1414 finalizers :
1515{{ .Values.finalizers | toYaml | indent 4 }}
1616 name : {{ include "pg-database.fullname" . }}
17+ namespace : {{ .Release.Namespace }}
1718spec :
1819 crVersion : {{ .Values.crVersion }}
1920 image : {{ include "pg-database.postgres-image" . }}
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : pg-operator
33description : ' A Helm chart to deploy the Percona Operator for PostgreSQL'
44type : application
5- version : 2.3.4
5+ version : 2.3.5
66appVersion : 2.3.1
77home : https://docs.percona.com/percona-operator-for-postgresql/2.0/
88maintainers :
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apiVersion: apps/v1
22kind : Deployment
33metadata :
44 name : {{ include "postgres-operator.fullname" . }}
5+ namespace : {{ .Release.Namespace }}
56 labels :
67{{ include "postgres-operator.labels" . | indent 4 }}
78 pgv2.percona.com/control-plane : postgres-operator
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apiVersion: v1
22kind : ServiceAccount
33metadata :
44 name : {{ include "postgres-operator.fullname" . }}
5+ namespace : {{ .Release.Namespace }}
56---
67{{- if or .Values.watchNamespace .Values.watchAllNamespaces }}
78kind : ClusterRoleBinding
@@ -11,9 +12,9 @@ kind: RoleBinding
1112apiVersion : rbac.authorization.k8s.io/v1
1213metadata :
1314 name : {{ include "postgres-operator.fullname" . }}
14- {{- if .Values.watchNamespace }}
15- namespace : {{ .Values.watchNamespace }}
16- {{- end }}
15+ {{- if not (or .Values.watchNamespace .Values.watchAllNamespaces) }}
16+ namespace : {{ .Release.Namespace }}
17+ {{- end }}
1718 labels :
1819{{ include "postgres-operator.labels" . | indent 4 }}
1920subjects :
@@ -29,4 +30,4 @@ roleRef:
2930 kind : Role
3031 {{- end }}
3132 name : {{ include "postgres-operator.fullname" . }}
32- apiGroup : rbac.authorization.k8s.io
33+ apiGroup : rbac.authorization.k8s.io
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ kind: Role
66apiVersion : rbac.authorization.k8s.io/v1
77metadata :
88 name : {{ include "postgres-operator.fullname" . }}
9+ {{- if not (or .Values.watchNamespace .Values.watchAllNamespaces) }}
10+ namespace : {{ .Release.Namespace }}
11+ {{- end }}
912 labels :
1013{{ include "postgres-operator.labels" . | indent 4 }}
1114rules :
You can’t perform that action at this time.
0 commit comments