-
Notifications
You must be signed in to change notification settings - Fork 779
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
Add integration test for intermediate CA #4264
Conversation
2ad1922
to
2951e9d
Compare
self.attached = True | ||
self.vm_name = attach_vm | ||
|
||
if not enable_ipv6: |
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.
This VM code is copied from test-cluster.py
.
The only added the flag enable_ipv6
and this check in the __init__
method
|
||
# Channel we want to test. A full path to a local snap can be used for local builds | ||
channel_to_test = ( | ||
"latest/edge/intermediate-ca" # os.environ.get("CHANNEL_TO_TEST", "latest/stable") |
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.
This branch contains the fixes for the intermediate CA verification (#4256).
Hard-coding this here is a temporary hack to see if the CI passes
f5a8f14
to
f55bf5c
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.
Please remove the .tox
files, they seem to be added by mistake?
This test verifies that microk8s can handle intermediate CAs. For that it: 1. Creates an intermediate CA certificate with openssl 2. Uses `microk8s refresh-certs` to apply this certificate in a microk8s cluster. 3. Verifies that all services come up again and that joining a new node to the cluster still works.
f55bf5c
to
1fbdfe2
Compare
Thanks, that slipped through. |
Closed, as not required anymore. |
This test verifies that microk8s can handle intermediate CAs. For that it:
microk8s refresh-certs
to apply this certificate in a microk8s cluster.