Open survivant opened 3 years ago
using Prometheus Operator make it almost impossible. If we want to install it in multiple namespaces, we need to disable rbac creation and create all the role/rolebinding manually (in templates) which is troublesome.
here my usecase :
I'm on premise (no-cloud access). I have a cluster that will be use for dev, qa, preprod...
I will deploy all my applications in different namespaces like dev,qa...
My application need to pass in dev before going to qa and qa before preprod..
so I'll have to deploy the monitoring stack in dev and qa and preprod.
example :
but it's not possible right now because so artifacts in prometheus-stack are using clusterrole.
I try to fix that by deactivate clusterrole and switch to role instead, but at the end, I obtain this error
so if I want to use roles in kube-metrics, I will have to force the names of the namespaces that I'll use. It won't work in my case, If I want to use gitops and CICD in my cluster.
Solutions could be :
here a little example of what I try