-
Notifications
You must be signed in to change notification settings - Fork 60
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
ClusterRole is missing finalizers declarations #483
Comments
We recently removed the configuration related to finalizers because we have not encountered the issue you mentioned in our environment, so we thought it was useless and deleted it. However, from the error message above,
I think we should add Finalizer information to starrocksclusters. |
I summit a PR to try to fix it, see #484. Can you please to verify it? |
I am not able to check right away but the error seems to point to the statefulset resource not having a finalizer:
As mentioned, what fixed it was adding finalizers to each of the ClusterRole resources. When I researched this issue, it was the ClusterRole that needed the finalizers apparently, which it why we added to those resources (and not to other roles). The reason for the error is that OpenShift by default enforces owner reference permissions. |
When deploying to OpenShift, we see the following errors in the operator manager logs
The issue is that the ClusterRole is missing the finalizers needed when deploying to OpenShift. We added the following to the ClusterRole YAML which fixed the errors
Thanks,
Sean
The text was updated successfully, but these errors were encountered: