Skip to content

Commit

Permalink
COSI-79: Updated helm chart with extra permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag4DSB committed Jan 21, 2025
1 parent f1d56f7 commit ef6408f
Showing 1 changed file with 39 additions and 6 deletions.
45 changes: 39 additions & 6 deletions helm/scality-cosi-driver/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,49 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: scality-cosi-driver-provisioner-role
annotations:
description: Role for Scality COSI Driver Provisioner with permissions for managing COSI resources and related objects.
rules:
- apiGroups: ["objectstorage.k8s.io"]
resources: ["buckets", "bucketaccesses", "bucketclaims", "bucketaccessclasses"]
verbs: ["get", "list", "watch", "update", "create", "delete"]
resources:
- buckets
- bucketaccesses
- bucketclaims
- bucketaccessclasses
- buckets/status
- bucketaccesses/status
- bucketclaims/status
- bucketaccessclasses/status
verbs:
- create
- get
- update
- delete
- list
- watch
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "watch", "list", "delete", "update", "create"]
resources:
- leases
verbs:
- create
- get
- update
- delete
- list
- watch
- apiGroups: [""]
resources: ["secrets", "events"]
verbs: ["get", "delete", "update", "create"]
resources:
- secrets
- events
- services
- endpoints
verbs:
- create
- get
- update
- delete
- list
- watch

---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit ef6408f

Please sign in to comment.