From 0fa96b6c270cb51757bf1aee495c5e470c61daa1 Mon Sep 17 00:00:00 2001 From: Aleksey Vasenev Date: Mon, 22 Apr 2024 11:03:39 +0300 Subject: [PATCH 1/2] pg-db: Fix multiple labels for topologySpreadConstraints --- charts/pg-db/Chart.yaml | 2 +- charts/pg-db/templates/cluster.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/pg-db/Chart.yaml b/charts/pg-db/Chart.yaml index bfaa7ba1..4e9019c0 100644 --- a/charts/pg-db/Chart.yaml +++ b/charts/pg-db/Chart.yaml @@ -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.12 +version: 2.3.13 appVersion: 2.3.1 home: https://docs.percona.com/percona-operator-for-postgresql/2.0/ maintainers: diff --git a/charts/pg-db/templates/cluster.yaml b/charts/pg-db/templates/cluster.yaml index 2c18b9f3..2647f626 100644 --- a/charts/pg-db/templates/cluster.yaml +++ b/charts/pg-db/templates/cluster.yaml @@ -157,7 +157,7 @@ spec: whenUnsatisfiable: {{ $constraint.whenUnsatisfiable }} labelSelector: matchLabels: - {{ $constraint.labelSelector.matchLabels | toYaml | indent 6 }} +{{ $constraint.labelSelector.matchLabels | toYaml | indent 14 }} {{- end }} {{- end }} @@ -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 }} @@ -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 }} From f0d859ee863888d9e3c34a2cd33aa01ad305e9bf Mon Sep 17 00:00:00 2001 From: Tomislav Plavcic Date: Fri, 26 Apr 2024 10:37:52 +0200 Subject: [PATCH 2/2] Bump pg-db chart version --- charts/pg-db/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pg-db/Chart.yaml b/charts/pg-db/Chart.yaml index 4e9019c0..677c0d6c 100644 --- a/charts/pg-db/Chart.yaml +++ b/charts/pg-db/Chart.yaml @@ -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: