When using Helm deploy operator on k8, when looking at operator’s pod log I see:
Not enough permissions to watch for resources: changes (creation/deletion/updates) will not be noticed; the resources are only refreshed on operator restarts.
Not enough permissions to list namespaces. Falling back to a list of namespaces which are assumed to exist: {'ray'}
Not enough permissions to watch for namespaces: changes (deletion/creation) will not be noticed; the namespaces are only refreshed on operator restarts.
To fix this I add the following to the cluster role rules:
- apiGroups: [""]
resources: ["namespaces"]
verbs: ["get", "list", "watch"]
This fixed namespace errors, but I still see:
Not enough permissions to watch for resources: changes (creation/deletion/updates) will not be noticed; the resources are only refreshed on operator restarts.
Any suggestions?