-
Notifications
You must be signed in to change notification settings - Fork 20
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
fix(tls): update existing certificates #360
Conversation
I followed the given test steps and I see exceptions like the following in the main Cryostat container logs when I try to open the web-client:
|
@andrewazores this looks a lot like #357. Can you double check this pod has |
Huh.
|
@andrewazores this is strange, I'm not able to reproduce what you're seeing. I tried the steps in a fresh cluster to try to rule out unexpected side effects. |
I'll try it out again tomorrow. I'm in airports/on planes all day today. |
FWIW, I'm also getting the same error as Andrew with my Quicklab cluster. My env vars look similar too: |
Works as expected for me on CRC. Edit: Oops, didn't realize Andrew's error is occurring when opening the web-client. I get the same error if I do the same. |
I just tried it again with a fresh CRC instance and I'm still seeing the same failure when opening the Cryostat web-client. |
I think I overlooked the opening the web-client step as well. I'll try again shortly. |
I think I see the problem now. It has nothing to do with Grafana or this PR. It's another side effect of removing |
@andrewazores @jan-law @hareetd With https://github.com/cryostatio/cryostat/pull/882 merged, this should be easier to test now using the instructions in the PR description. |
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.
Works well now.
Uses
controllerutil.CreateOrUpdate
on certificates/issuers/secrets created in certmanager.go. I've also added some additional tests for this code.To test:
quay.io/ebaron/cryostat-operator:before-352
is a build before #352quay.io/ebaron/cryostat-operator:after-352-update
is a build of this PR, after #352Fixes: #359