Skip to content

Commit

Permalink
fix: cluster role deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpoke committed Oct 28, 2022
1 parent a040ee2 commit 915bd6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions deployment/base/treetracker-wallet-api-clusterrole.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: k8s-wait-for
rules:
- apiGroups: [""]
resources: ["services","pods","jobs"]
verbs: ["get","watch","list"]
- apiGroups: ["batch"]
resources: ["services","pods","jobs"]
verbs: ["get","watch","list"]
- apiGroups: ['']
resources: ['services', 'pods', 'jobs']
verbs: ['get', 'watch', 'list']
- apiGroups: ['batch']
resources: ['services', 'pods', 'jobs']
verbs: ['get', 'watch', 'list']
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: k8s-wait-for
Expand Down

0 comments on commit 915bd6e

Please sign in to comment.