-
Notifications
You must be signed in to change notification settings - Fork 5
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
Initial version of External Certificates integration #98
Conversation
Everyone contributing to this PR have now signed the CLA. Thanks! |
f571351
to
139a91a
Compare
139a91a
to
14a739b
Compare
/canonical/self-hosted-runners/run-workflows 14a739b |
1296c3a
to
74237df
Compare
74237df
to
b387b1a
Compare
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.
I have questions concerning the expiration of certificates, testing of those situations, and testing of other ubuntu bases. I don't expect we address all of them at once.
the most worrisome to me is certificate expiration
656c1be
to
fdbb09a
Compare
fdbb09a
to
e7c7d29
Compare
a76ae26
to
d838d04
Compare
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.
amazing 😍 Lgtm
config (BootstrapConfig|UpdateClusterConfigRequst): | ||
config (BootstrapConfig|UpdateClusterConfigRequest): |
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.
😃
app = self.applications[name] | ||
app["charm"] = str(path.resolve()) | ||
app["channel"] = None | ||
# FIXME: Omit non present charms | ||
try: | ||
app = self.applications[name] | ||
app["charm"] = str(path.resolve()) | ||
app["channel"] = None | ||
except KeyError: | ||
log.warning("Application %s not found in bundle", name) |
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.
whats this for? oh? for test bundles where theres no worker charm?
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.
Yes, it should be there until we add support for certificates in k8s-worker
Applicable spec
KU083 - Vault integration
Overview
Implement the External Certificates relation using TLSCertificatesV3.
Rationale
This pull request introduces the capability of integrating the charm with external certificate providers like Vault or charms that use the TLSCertificatesV3 library, such as
self-signed-certificates
.This pull request only tackles the bootstrap certificates generation. The control plane and worker certificates will be implemented in separate pull requests in the future.
Module Changes
Library Changes