etcd-operator icon indicating copy to clipboard operation
etcd-operator copied to clipboard

clusterwide not really working

Open KlavsKlavsen opened this issue 5 years ago • 4 comments

I added clusterwide option and deployed the example to kube-system - but the operator never reacted to the example-etcd-cluster.yaml.. I then removed all (incl. roles that were in kube-system) and added it in default namespace - and then it worked. It seems it could be because the create_role script creates a role that does not have access to other namespaces ?

KlavsKlavsen avatar Aug 09 '19 10:08 KlavsKlavsen

Link to the create role script?

texascloud avatar Sep 25 '19 18:09 texascloud

Link to the create role script?

https://github.com/coreos/etcd-operator/blob/master/example/rbac/create_role.sh

KlavsKlavsen avatar Sep 26 '19 06:09 KlavsKlavsen

u should add the clusterwide annotation too

xrmzju avatar Mar 24 '20 06:03 xrmzju

So how should this actually look, for it to work? https://github.com/coreos/etcd-operator/blob/master/example/deployment.yaml

KlavsKlavsen avatar Mar 27 '20 14:03 KlavsKlavsen