Skip to content
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

fix: pgbouncer connection with useStandardNaming #34787

Merged
merged 2 commits into from Oct 5, 2023

Conversation

fgalind1
Copy link
Contributor

@fgalind1 fgalind1 commented Oct 5, 2023

Issue

PR #31066 introduced a new option to standardize the naming of the different helm chart resources.
However this didn't include also updating the reference when creating the pgbouncer connection in the
metadata secret. This PR fixes that and makes sure we use the proper hostname for pgbouncer based on
the new option useStandardNaming

How to reproduce

Helm chart 1.11.0

Deploy airflow helm chart using useStandardNaming: true and pgbouncer.enabled: true, only when both are enabled the issue is presented, otherwise it works as it should

PR apache#31066 introduced a new option to standardize the naming of the different helm chart resources.
However this didn't include also updating the reference when creating the pgbouncer connection in the
metadata secret. This PR fixes that and makes sure we use the proper hostname for pgbouncer based on
the new option useStandardNaming
@fgalind1
Copy link
Contributor Author

fgalind1 commented Oct 5, 2023

@jedcunningham I discovered a small issue with the recent addition of useStandardNaming when pgbouncer is enabled. I've submitted this PR that should fix this issue

@fgalind1 fgalind1 changed the title fix pgbouncer connection with useStandardNaming fix: pgbouncer connection with useStandardNaming Oct 5, 2023
@jedcunningham jedcunningham merged commit 59ed537 into apache:main Oct 5, 2023
52 checks passed
@ephraimbuddy ephraimbuddy added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:helm-chart Airflow Helm Chart changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants