Add 'jobs' resource to role.yaml 89/1789/1
authorramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Tue, 15 Oct 2019 22:37:56 +0000 (15:37 -0700)
committerramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Tue, 15 Oct 2019 22:47:26 +0000 (15:47 -0700)
Signed-off-by: Ramamani Yeleswarapu <ramamani.yeleswarapu@intel.com>
Change-Id: Iad9ff66e593c63ddb44ddf1b274251395b97c134

cmd/bpa-operator/deploy/role.yaml

index 022cbfe..c7b6c95 100644 (file)
@@ -15,6 +15,7 @@ rules:
   - configmaps
   - secrets
   - namespaces
+  - jobs
   verbs:
   - '*'
 - apiGroups:
@@ -65,3 +66,9 @@ rules:
   - baremetalhosts
   verbs:
   - '*'
+- apiGroups:
+  - "batch"
+  resources:
+  - jobs
+  verbs:
+  - '*'