I am running the NATS streaming operator with the default clusterScoped: false in a namespace in a test cluster whilst we evaluate it internally.
Currently it does not map the role binding correctly, and the operator fails to start with the below error. This patch fixes it.
natsstreamingclusters.streaming.nats.io is forbidden: User "system:serviceaccount:incubator:nats-streaming-operator" cannot list resource "natsstreamingclusters" in API group "streaming.nats.io" in the namespace "incubator": RBAC:clusterrole.rbac.authorization.k8s.io "nats-streaming-operator" not found
I am running the NATS streaming operator with the default
clusterScoped: false
in a namespace in a test cluster whilst we evaluate it internally. Currently it does not map the role binding correctly, and the operator fails to start with the below error. This patch fixes it.