-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Not being able to register CRD is not a fatal error #444
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
Conversation
|
Coverage remained the same at 23.766% when pulling 46fdbb475cd45e695d43f5d052f78e52389f9a29 on redbaron:crd-no-fatal into c70905a on zalando-incubator:master. |
|
@redbaron at the absence of the operator CRD, at which point do you expect the operator pod to fail ? |
|
It fails on CRD wait status then , which remains Fatal error |
|
But isn't the message confusing, why will it continue to fail if it already exists? |
I don't understand. If CRD already exists, then irrespectively of CRD creation it moves to checking CRD status and only if CRD status check fails, operator fails too. |
|
In other words, it fails on what is important : CRD is not registered in the cluster |
|
hey @redbaron :) any updates on this PR ? |
Operator proceeds to checking if CRD is present and ready, and if not, only then it is a fatal error.
|
Thanks for the update. With the new update mechanism there are also no confusing message anymore. |
|
👍 |
comments addressed in a subsequent commit
|
👍 |
|
@redbaron thanks for the contribution 👍 |
Operator proceeds to checking if CRD is present and ready,
and if not, only then it is a fatal error.