-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OLM complains with "Policy rule not satisfied for service account" #724
Comments
What namespace is the CSV in? Could you try putting SA/Role/RoleBinding/CSV in |
Ok let me try that. |
Same issue if I put everything in the |
Sorry for the radio silence @leseb -
Then I looked at the status again and saw the requirement for that serviceaccount, which was previously unsatisfied, correctly flip to - dependents:
- group: rbac.authorization.k8s.io
kind: PolicyRule
message: namespaced rule:{"verbs":["get","list","watch","create","update","delete"],"apiGroups":[""],"resources":["configmaps"]}
status: Satisfied
version: v1beta1
group: ""
kind: ServiceAccount
message: ""
name: rook-ceph-osd
status: Present
version: v1 There were many additional requirements not met, but those should be able to be satisfied similarly. |
Ok so I've been able to unlock this. The issue was that I had set |
I built OLM with minikube using
make run-local
, then I injected "manually" the CRDs, serviceaccounts, roles, rolebindings.OLM complains with
Policy rule not satisfied for service account
even resources are present.This is one of the errors, I have 3 serviceaccounts and I see the same message:
However, the service account is present in the
local
namespace:As well as the role:
And the bindings:
Here is my CSV:
Am I missing something obvious?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: