sriov-fec-operator
sriov-fec-operator copied to clipboard
Missing serviceAccount and wrong namespace?
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.