druid-io / druid-operator

Druid Kubernetes Operator
Other
205 stars 92 forks source link

multiple watched namespaces #309

Closed zhangluva closed 1 year ago

zhangluva commented 1 year ago

Fixes #308

Description

When multiple namespaces are watched, configured by set env.WATCH_NAMESPACE=ns1,ns2, a role needs to be created in each of the namespaces. Also, a clusterrole with list/get permission on storage.k8s.io api is needed in order for scaleStsPvc to work. All roles need to bind to the operator's service account.


This PR has:


Key changed/added files in this PR
AdheipSingh commented 1 year ago

@nishantmonu51 kindly approve to run CI