Fix: failed forbidden, using RBAC.

adding rules needed of the Job on file.  cluster-autoscaler-run-on-master.yaml
This commit is contained in:
reinaldo-pinto 2019-04-22 23:21:09 -03:00 committed by GitHub
parent 5c15ad590a
commit 129bc11f96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["storageclasses"]
verbs: ["watch", "list", "get"]
- apiGroups: ["batch", "extensions"]
resources: ["jobs"]
verbs: ["get", "list", "watch", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1