Skip to content

Conversation

@thesuperzapper
Copy link
Member

@thesuperzapper thesuperzapper commented Apr 6, 2023

What issues does your PR fix?

  • N/A

What does your PR do?

This PR changes the way we generate self-signed certificates for PgBouncer, so that we no longer uses the helm genSelfSignedCert function, which was causing the manifests to show as perpetually "out of sync" in systems like ArgoCD (as each time this function runs, it generates a unique certificate).

We now use our script /home/pgbouncer/config/gen_self_signed_cert.sh which runs on startup and generates a self-signed SSL certificate using the openssl command line (if the user does not provide their own "existingSecret" for the client certificates).

This PR also updates the default PgBouncer image to ghcr.io/airflow-helm/pgbouncer:1.18.0-patch.1 as this was the first version in which we included the openssl CLI.

Checklist

For all Pull Requests

@thesuperzapper thesuperzapper added this to the airflow-8.7.0 milestone Apr 6, 2023
@thesuperzapper thesuperzapper added the status/ready-to-merge status - this will be merged into next release label Apr 6, 2023
@thesuperzapper thesuperzapper merged commit 3c08871 into airflow-helm:main Apr 7, 2023
@thesuperzapper thesuperzapper deleted the generate-pgbouncer-certs-with-script branch April 7, 2023 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/ready-to-merge status - this will be merged into next release

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant