-
Notifications
You must be signed in to change notification settings - Fork 17
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
Hawtio Operator is producing 'already exist' errors for configmap in log #82
Comments
This is not an error with the operator but a current limitation in that the operator is not able to handle the existence of same-named resources that are not owned by the operator, eg. if install of hawtio-online has been made manually without the operator. Therefore, this should be triaged as a required feature improvement. |
I'm not sure if it's something we need to fix. If I understand it correctly, it happens when we manually install hawtio-online first then we want to switch its management to operator by installing hawtio-operator, right? Isn't it then dangerous that the user doesn't want to do so but accidentaly pass its management to operator by installing operator carelessly? The user should know what they are doing. If they want to reinstall hawtio-online by operator, first they should uninstall it manually and then install operator. |
I would agree but for the resources that get left behind, eg. configmap or route. Unless the user uses the So, the fix might be to improve the logging of the errors, eg. maybe the operator first scans for any resources that are relevant but not owner by it then reports this as a status failure in the CR. Even if we don't do it this way, the CR should still report a status failure rather than stay stuck at |
I agree, logging with a better message is the right solution for the issue. |
Errors being produced:
The text was updated successfully, but these errors were encountered: