Skip to content
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

Installing 2 operators fight for clusterrole monitoring-edit #4669

Closed
zfrhv opened this issue Mar 21, 2022 · 2 comments
Closed

Installing 2 operators fight for clusterrole monitoring-edit #4669

zfrhv opened this issue Mar 21, 2022 · 2 comments
Labels

Comments

@zfrhv
Copy link

zfrhv commented Mar 21, 2022

What happened?
Installed the operator in 2 namespaces, and each of the tries to modify ClusterRole/monitoring-edit for his own need.

Did you expect to see something different?
I expected each operator to create his own ClusterRole

How to reproduce it (as minimally and precisely as possible):
Install 2 operators in 2 different namespaces. and see that metadata.labels["olm.owner.namespace"] is keep changing.
its not a problem if you install operator with the same version, but it is a problem if you have different versions.
each operator tries to configure his own permissions.
for example openshift-monitoring will conflict with your own operator for that ClusterRole.

Environment
openshift 4.8.19

  • Prometheus Operator version:
    v0.47.0

  • Kubernetes version information:

    v1.21.4+6438632

  • Kubernetes cluster kind:

    Openshift UPI installation on vmware

  • Manifests:

  • Prometheus Operator Logs:
    no errors and nothing about ClusterRole.
    (im in airgapped network so it make take a while to get out the logs)

Anything else we need to know?:
I think the solution would be to create ClusterRole with name $(NAMESPACE)-monitoring-edit, this will avoid conflicts.
yet using the operator fails openshift-monitoring because of that ClusterRole (even when the operator is namespaced)

@zfrhv zfrhv added the kind/bug label Mar 21, 2022
@simonpasquier
Copy link
Contributor

👋 the maintainers of this repository don't maintain the OLM bundle. you'll have to ask https://github.com/k8s-operatorhub/community-operators directly.

@zfrhv
Copy link
Author

zfrhv commented Mar 22, 2022

ooo ok :0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants