percona / percona-helm-charts

Collection of Helm charts for Percona Kubernetes Operators.
https://www.percona.com/software/percona-kubernetes-operators
Other
110 stars 151 forks source link

K8SPG-524 - pg-db - fix for pgbackrest global section fails to render #301

Closed teknologista closed 3 months ago

teknologista commented 3 months ago

Hi,

This PR just fixes indentation issues that break the use of global section in pgbackrest. Without this fix you can't setup custom retention rules.

Whenever you add the global section according to the official docs:

   global:
       repo1-retention-full: "5"
       repo1-retention-full-type: count

The chart errors at the render step with error:

Error: YAML parse error on pg-db/templates/cluster.yaml: error converting YAML to JSON: yaml: line 78: did not find expected key

This PR fixes indentation and allows correct rendering of the pgbackrest.global section

it-percona-cla commented 3 months ago

CLA assistant check
All committers have signed the CLA.

tplavcic commented 3 months ago

@teknologista Thank you very much for the contribution! Please bump the chart version so that the test can pass.

teknologista commented 3 months ago

@teknologista Thank you very much for the contribution! Please bump the chart version so that the test can pass.

Done

tplavcic commented 3 months ago

Thank you! It is now merged.