-
Notifications
You must be signed in to change notification settings - Fork 344
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
Synch changes in cert generation script with CLO #1008
Synch changes in cert generation script with CLO #1008
Conversation
Signed-off-by: Pavol Loffay <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #1008 +/- ##
==========================================
+ Coverage 64.55% 64.60% +0.05%
==========================================
Files 82 82
Lines 6540 6547 +7
==========================================
+ Hits 4222 4230 +8
+ Misses 2177 2176 -1
Partials 141 141
Continue to review full report at Codecov.
|
@pavolloffay KevinE is running the internal e2e tests, so will wait for those results. But wanted to find out are there going to be any upgrade issues with this? Is there a procedure that will need to be followed - e.g. stop / restart jaeger instance and ES cluster. |
I would say it should not cause problems. Once new operator is deployed existing certs are reconstructed from secrets and stored on operator's filesystem in
Then the script checks whether certs exist and are not expired
|
@pavolloffay ok thanks - internal tests passed, so will approve/merge. |
You will need to restart the ES cluster, but the Elasticsearch Operator handles this for you. |
Thanks for looking into this @ewolinetz.
Could you please explain why the ES cluster will have to be restarted? Will the certs change? Could you please point me to the code?
Which operator? Jaeger/jaeger operator is using only certs for auth. If certs change jaeger collector will not able to connect. I am not sure if it restarts automatically. I am going to test this. |
Signed-off-by: Pavol Loffay <[email protected]>
Upstream script: https://github.com/openshift/cluster-logging-operator/blob/master/scripts/cert_generation.sh
Full history: https://github.com/openshift/cluster-logging-operator/commits/master/scripts/cert_generation.sh
Ported changes
Signed-off-by: Pavol Loffay [email protected]