Skip to content

Commit

Permalink
Merge pull request #321 from gamelessone/fix-multi-label
Browse files Browse the repository at this point in the history
K8SPG-563  - pg-db: Fix multiple labels for topologySpreadConstraints
  • Loading branch information
tplavcic authored Apr 26, 2024
2 parents eb56912 + f0d859e commit 9aac475
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/pg-db/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: pg-db
description: 'A Helm chart to deploy the PostgreSQL database with the Percona Operator for PostgreSQL'
type: application
version: 2.3.13
version: 2.3.14
appVersion: 2.3.1
home: https://docs.percona.com/percona-operator-for-postgresql/2.0/
maintainers:
Expand Down
6 changes: 3 additions & 3 deletions charts/pg-db/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ spec:
whenUnsatisfiable: {{ $constraint.whenUnsatisfiable }}
labelSelector:
matchLabels:
{{ $constraint.labelSelector.matchLabels | toYaml | indent 6 }}
{{ $constraint.labelSelector.matchLabels | toYaml | indent 14 }}
{{- end }}
{{- end }}

Expand Down Expand Up @@ -244,7 +244,7 @@ spec:
whenUnsatisfiable: {{ $constraint.whenUnsatisfiable }}
labelSelector:
matchLabels:
{{ $constraint.labelSelector.matchLabels | toYaml | indent 6 }}
{{ $constraint.labelSelector.matchLabels | toYaml | indent 14 }}
{{- end }}
{{- end }}
{{- if .Values.proxy.pgBouncer.affinity }}
Expand Down Expand Up @@ -302,7 +302,7 @@ spec:
whenUnsatisfiable: {{ $constraint.whenUnsatisfiable }}
labelSelector:
matchLabels:
{{ $constraint.labelSelector.matchLabels | toYaml | indent 6 }}
{{ $constraint.labelSelector.matchLabels | toYaml | indent 16 }}
{{- end }}
{{- end }}
{{- if .Values.backups.pgbackrest.repoHost.affinity }}
Expand Down

0 comments on commit 9aac475

Please sign in to comment.