Add 'jobs' resource to role.yaml 37/1837/1
authorramamani yeleswarapu <ramamani.yeleswarapu@intel.com>
Tue, 15 Oct 2019 22:37:56 +0000 (15:37 -0700)
committerr.kuralamudhan <kuralamudhan.ramakrishnan@intel.com>
Thu, 24 Oct 2019 05:28:33 +0000 (22:28 -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:
+  - '*'