-
Notifications
You must be signed in to change notification settings - Fork 27
Fix SANs list #58
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
Fix SANs list #58
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MiaAltieri
previously approved these changes
Oct 27, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LATM (looks amazing to me)
WRFitch
previously approved these changes
Oct 27, 2022
3c7c2dc
MiaAltieri
approved these changes
Oct 27, 2022
WRFitch
approved these changes
Oct 27, 2022
Mehdi-Bendriss
approved these changes
Oct 27, 2022
|
Thanks for the reviews, @MiaAltieri, @WRFitch and @Mehdi-Bendriss! |
BON4
pushed a commit
to BON4/postgresql-k8s-operator
that referenced
this pull request
May 20, 2024
* Fix SANs list * Improve TLS lib * Add new exception [skip ci] * Pin juju version * Improve library property set
github-actions bot
added a commit
to canonical/test-runners-2-github-x64-postgresql-k8s-operator
that referenced
this pull request
May 26, 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Solution
Context
You can
FOCUSon the following files when reviewing:lib/charms/postgresql_k8s/v0/postgresql_tls.py: it contains the fix for the IP address issue in the VM charm and also a way to provide additional DNS names for the certificate signing request.src/charm.py: it sends the k8s service names to the PostgreSQL TLS library.Other files and what has changed on them:
lib/charms/tls_certificates_interface/v1/tls_certificates.py: this is a patched version of the library that is used to solve the IP address issue. It was copied from https://github.com/canonical/opensearch-operator/blob/main/lib/charms/tls_certificates_interface/v1/tls_certificates.py (that patch will be pushed to the right repo in some weeks). Thanks @Mehdi-Bendriss!tox.ini: the version of the Juju Python library was pinned due toImportError: No supported version for facade: ModelConfigFacadeerrors when deploying the charm.In a future PR those k8s services probably should be replaced by the pods endpoints.
Testing
Release Notes