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

Chart: PgBouncer service enhancements #19749

Merged

Conversation

pgvishnuram
Copy link
Contributor

@pgvishnuram pgvishnuram commented Nov 22, 2021

Problem:
pgbouncer does not support additional volume and volume mounts this lacks feature to add client side tls certificates.

Additionally pgbouncer MetricExporter sslmode is hardcoded at all times, this breaks if user tries to set sslmode=require

How does this PR fix the problem above:

This PR below functionality to solve above issues

  • Added support for extraVolumes and Volumemounts
  • Added seperate sslmode for metrics exporter
  • Fixed condition for pgbouncer volume mounts
  • Added test cases

^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

chart/values.schema.json Outdated Show resolved Hide resolved
chart/values.schema.json Outdated Show resolved Hide resolved
@kaxil
Copy link
Member

kaxil commented Dec 9, 2021

@pgvishnuram Can you rebase on main branch & resolve conflicts please

@pgvishnuram
Copy link
Contributor Author

okay sure . let me re-verify them

pgvishnuram and others added 3 commits December 9, 2021 18:29
* Added support for extraVolumes and Volumemounts
* Added seperate sslmode for metrics exporter
* Fixed condition for pgbouncer volume mounts
* Added test cases
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
chart/tests/test_pgbouncer.py Outdated Show resolved Hide resolved
@kaxil kaxil changed the title pgbouncer service enhancements Chart: PgBouncer service enhancements Dec 9, 2021
@kaxil kaxil added this to the Airflow Helm Chart 1.4.0 milestone Dec 9, 2021
@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Dec 9, 2021
@github-actions
Copy link

github-actions bot commented Dec 9, 2021

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

chart/tests/test_pgbouncer.py Outdated Show resolved Hide resolved
chart/values.schema.json Outdated Show resolved Hide resolved
chart/values.schema.json Outdated Show resolved Hide resolved
pgvishnuram and others added 3 commits December 9, 2021 20:23
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
@kaxil kaxil closed this Dec 10, 2021
@kaxil kaxil reopened this Dec 10, 2021
@jedcunningham jedcunningham merged commit 8ac1b41 into apache:main Dec 13, 2021
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 okay to merge It's ok to merge this PR as it does not require more tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants