Skip to content

Commit

Permalink
Add more permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Vihang Mehta <[email protected]>
  • Loading branch information
vihangm committed Jun 26, 2023
1 parent ef896ba commit f138372
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions k8s/vizier/bootstrap/updater_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,64 @@ subjects:
- kind: ServiceAccount
name: pl-updater-service-account
namespace: pl
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: pl-updater-cluster-role
rules:
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterroles
- clusterrolebindings
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
resourceNames:
- kube-system
- apiGroups:
- ""
resources:
- nodes
- pods
- services
- endpoints
- namespaces
verbs:
- get
- watch
- list
- apiGroups:
- apps
resources:
- replicasets
- deployments
verbs:
- get
- watch
- list
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: pl-updater-cluster-binding
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: pl-updater-cluster-role
subjects:
- kind: ServiceAccount
name: pl-updater-service-account
namespace: pl

0 comments on commit f138372

Please sign in to comment.