Skip to content

Conversation

@marceloneppel
Copy link
Member

@marceloneppel marceloneppel commented Oct 19, 2022

Issue

Solution

  • Fix the list of SANS that are provided to the TLS Certificates Operator.

Context

  • On lib/charms/postgresql_k8s/v0/postgresql_tls.py an additional missing SAN was added to match one more endpoint of the unit with the list provided by the certificate.

Testing

  • The check for TLS on pg_rewind communications was fixed on tests/integration/test_tls.py (sometimes the replica promotion to primary doesn't happen and we need to request it again).

Release Notes

  • Fix list of SANs and pg_rewind test.

@WRFitch WRFitch self-requested a review October 19, 2022 17:43
@marceloneppel marceloneppel changed the title Fix SANS and pg_rewind test Fix list of SANs and pg_rewind test Oct 19, 2022
Copy link
Contributor

@WRFitch WRFitch left a comment

Choose a reason for hiding this comment

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

LGTM!

@marceloneppel marceloneppel merged commit 443200a into main Oct 20, 2022
@marceloneppel marceloneppel deleted the fix-pgrewind-test branch October 20, 2022 10:14
BON4 pushed a commit to BON4/postgresql-k8s-operator that referenced this pull request May 20, 2024
* Fix SANS and pg_rewind test

* Improve code
github-actions bot added a commit to canonical/test-runners-2-github-x64-postgresql-k8s-operator that referenced this pull request May 25, 2024
github-actions bot added a commit to canonical/test-runners-2-is-x64-postgresql-k8s-operator that referenced this pull request May 26, 2024
github-actions bot added a commit to canonical/test-runners-2-azure-arm64-postgresql-k8s-operator that referenced this pull request May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants