X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=cmd%2Fbpa-operator%2Fdeploy%2Frole.yaml;h=c7b6c951f6ce4f65795388b8de8916cf9fb6ad60;hb=95ca9e9192a22bb3172c373cdb611297fef5cfd6;hp=fbe90b20af76ecde0b7da3be57fc1363d78af220;hpb=aaaa10a54a1d7ec0a1c4e3a675113ec9656c0e1a;p=icn.git diff --git a/cmd/bpa-operator/deploy/role.yaml b/cmd/bpa-operator/deploy/role.yaml index fbe90b2..c7b6c95 100644 --- a/cmd/bpa-operator/deploy/role.yaml +++ b/cmd/bpa-operator/deploy/role.yaml @@ -1,5 +1,5 @@ apiVersion: rbac.authorization.k8s.io/v1 -kind: Role +kind: ClusterRole metadata: creationTimestamp: null name: bpa-operator @@ -14,6 +14,8 @@ rules: - events - configmaps - secrets + - namespaces + - jobs verbs: - '*' - apiGroups: @@ -58,3 +60,15 @@ rules: - '*' verbs: - '*' +- apiGroups: + - metal3.io + resources: + - baremetalhosts + verbs: + - '*' +- apiGroups: + - "batch" + resources: + - jobs + verbs: + - '*'