File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed
Expand file tree Collapse file tree 4 files changed +9
-2
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.5.2
5+ version : 2.5.3
66appVersion : 2.5.0
77home : https://docs.percona.com/percona-operator-for-postgresql/2.0/
88maintainers :
Original file line number Diff line number Diff line change @@ -90,6 +90,8 @@ The chart can be customized using the following configurable parameters:
9090| |
9191| ` instances.name ` | The name of the PostgreSQL instance | ` instance1 ` |
9292| ` instances.replicas ` | The number of Replicas to create for the PostgreSQL instance | ` 3 ` |
93+ | ` instances.metadata.labels ` | Labels applied to instance pods | ` {} ` |
94+ | ` instances.metadata.annotations ` | Annotations applied to instance pods | ` {} ` |
9395| ` instances.affinity.podAntiAffinity ` | Pod anti-affinity, allows setting the standard Kubernetes affinity constraints of any complexity | ` {} ` |
9496| ` instances.resources.requests.memory ` | Kubernetes memory requests for a PostgreSQL instance | ` "" ` |
9597| ` instances.resources.requests.cpu ` | Kubernetes CPU requests for a PostgreSQL instance | ` "" ` |
Original file line number Diff line number Diff line change @@ -191,6 +191,9 @@ spec:
191191 memory : {{ $instance.resources.limits.memory }}
192192 {{- end }}
193193 {{- end }}
194+ {{- if $instance.metadata }}
195+ metadata : {{- $instance.metadata | toYaml | nindent 8 }}
196+ {{- end }}
194197 {{- if $instance.containers }}
195198 containers :
196199 {{- if $instance.containers.replicaCertCopy }}
Original file line number Diff line number Diff line change @@ -155,7 +155,9 @@ instances:
155155 matchLabels :
156156 postgres-operator.crunchydata.com/data : postgres
157157 topologyKey : kubernetes.io/hostname
158-
158+ # metadata:
159+ # annotations: {}
160+ # labels: {}
159161# resources:
160162# requests:
161163# cpu: 2.0
You can’t perform that action at this time.
0 commit comments