Skip to content
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

Missing serviceAccount and wrong namespace? #58

Open
dastonzerg opened this issue Mar 7, 2024 · 0 comments
Open

Missing serviceAccount and wrong namespace? #58

dastonzerg opened this issue Mar 7, 2024 · 0 comments

Comments

@dastonzerg
Copy link

dastonzerg commented Mar 7, 2024

I tried to deploy the master version and saw "Error creating: pods "sriov-fec-controller-manager-556b599b64-" is forbidden: error loo
king up service account sriov-fec-system/controller-manager: serviceaccount "controller-manager" not found". Then I realized that there is no SA created in https://github.com/smart-edge-open/sriov-fec-operator/tree/6be4a1f78d468bd9b07821468c577e8b0873a7be/config/rbac. Also the namespace seems to be incorrect which is trying to refer to a system namespace controller-manager https://github.com/smart-edge-open/sriov-fec-operator/blob/6be4a1f78d468bd9b07821468c577e8b0873a7be/config/rbac/leader_election_role_binding.yaml#L15. Am I missing sth?

I know the controller is creating serviceaccounts, but it is like a chicken egg problem since if there is no service account sriov-fec-system/controller-manager created then the controller cannot even start.

I may not be using it properly though let me know if my assumption makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant