-
Notifications
You must be signed in to change notification settings - Fork 416
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
[Bug] Unable to install multiple releases of the grafana-operator via ArgoCD #1323
Comments
Could you, please, describe your use-case? - Why would you want to install multiple copies of the operator when running in a cluster-wide mode? |
I'm using the grafana-operator as part of an umbrella chart and I test it via ArgoCD by deploying the umbrella in a different namespace. Right now, if I deploy the chart like it is, I receive a resource conflict and ArgoCD fails to sync. |
@alita1991 Is there any reason why you can't run it in |
I can test like this for a while, the only issue is that it will ignore the resources that are created in a different namespace. Is there a reason for having a hardcoded name, like operator is doing any kind of validation base on that name or something? |
Yes, this is how namespace specific operators work. Would be a bit strange otherwise. No there is no reason like that, but changing can create issues and we don't want to do it unless there is a good reason to do it. And right now you haven't explained why we would change anything. Right now it sounds like you don't understand how the operator works and you are trying to do some strange workaround that we don't understand. This is not too be mean or anything, we try to accommodate all our users. But we have thousands of deployments of the operator and changing cluster rbac rules can create issues. |
#1329 will allow you to overwrite ClusterRole/ClusterRoleBinding names through |
This issue hasn't been updated for a while, marking as stale, please respond within the next 7 days to remove this label |
by bot, I need to review a PR |
Describe the bug
Currently, the Grafana-Operator's ClusterRole and ClusterRoleBinding are hardcoded, limiting users to installing a single release for testing purposes. Proposing to make these configurations dynamic to enable concurrent installations of multiple releases, fostering a more flexible testing environment via ArgoCD.
Version
Helm Chart v5.4.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Install chart multiple times without sync issues
Suspect component/Location where the bug might be occurring
The name for the ClusterRole and ClusterRoleBinding are hardcoded
The text was updated successfully, but these errors were encountered: