Skip to content

fix(postgres-operator/deployment): Set 'nindent' to 8 for 'extraEnvs' #2783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

Mart-Kuc
Copy link
Contributor

This PR fixes a template error in postgres-operator/deployment.
If you want to use extraEnvs in values.yaml, the current indentation for extraEnvs causes the resulting deployment.yaml to break due to incorrect indentation.

The nindent value has been updated from 12 to 8.

Result with the old values.yaml (nindent 12):

Old-template

Result with the new nindent set to 8:
New-template

Bumped Chart.yaml version to 1.13.1 but I'm not sure if it's correct

@daleckystepan
Copy link

That would be nice. We also hit that.

@@ -1,6 +1,6 @@
apiVersion: v2
name: postgres-operator
version: 1.13.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will be bumped to 1.14.0. We have no branching in place to create a bugfix release for 1.13.0. Too many feature already merged to main trunk.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumped to 1.14.0

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to keep it at 1.13.0 for now, but ok, we can also set to 1.14.0.

@FxKu FxKu added the bugfix label Oct 28, 2024
@FxKu
Copy link
Member

FxKu commented Oct 28, 2024

Thanks for providing the fix. Could you please keep the version on the Chart.yaml? (see my comment)

@FxKu FxKu added this to the 1.14.0 milestone Oct 28, 2024
@Mart-Kuc Mart-Kuc force-pushed the MK-fix-deployment-chart branch from d6e21c1 to 1769db6 Compare October 29, 2024 08:38
@Mart-Kuc Mart-Kuc force-pushed the MK-fix-deployment-chart branch from eabde58 to 18e7c67 Compare October 29, 2024 08:46
@FxKu
Copy link
Member

FxKu commented Oct 30, 2024

👍

@FxKu FxKu merged commit 45e9227 into zalando:master Oct 30, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants