-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Operator cleanly exits in non-existent CRD #523
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
Operator cleanly exits in non-existent CRD #523
Conversation
Hi @camilocot. Thanks for your PR. I'm waiting for a operator-framework member to verify that this patch is reasonable to test. If it is, they should reply with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Why we won't let the Operator create it's CRD in case it is missing ? |
@allamand It was already discussed on the issue #183
|
@camilocot Sorry for the late review. |
@camilocot Can you please rebase your changes with the master first. |
This prevents operator panics if it starts before creating the CRD Fixes #183
@hasbro17 rebase is done, is something else missing? |
@camilocot we made a fairly large change to master today; instead of rebasing, I would recommend creating a new branch, doing a |
@estroz Actually after the rebase we won't have this issue anymore. We don't even have
@camilocot We've replaced the SDK apis with the controller-runtime on the master so this should be fixed. We'll have a release out soon that will include this fix. |
This prevents operator panics if it starts before creating the CRD
Fixes #183