diff --git a/deployment/sriov-network-operator/templates/clusterrole.yaml b/deployment/sriov-network-operator/templates/clusterrole.yaml index ed2dc14e6..72a3335db 100644 --- a/deployment/sriov-network-operator/templates/clusterrole.yaml +++ b/deployment/sriov-network-operator/templates/clusterrole.yaml @@ -15,13 +15,13 @@ rules: resources: ["daemonsets"] verbs: ["get"] - apiGroups: [""] - resources: [namespaces, serviceaccounts] + resources: ["namespaces", "serviceaccounts"] verbs: ["*"] - apiGroups: ["k8s.cni.cncf.io"] resources: ["network-attachment-definitions"] verbs: ["*"] - apiGroups: ["rbac.authorization.k8s.io"] - resources: [clusterroles, clusterrolebindings] + resources: ["clusterroles", "clusterrolebindings"] verbs: ["*"] - apiGroups: ["admissionregistration.k8s.io"] resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"]