Skip to content

Commit

Permalink
BGD-4615 - add leases permissions to the `bigdata-operator-cluster-…
Browse files Browse the repository at this point in the history
…manager` cluster role (#188)

* BGD-4615 - add `leases` permissions

* BGD-4615 - move `leases` permissions outside the `ingressNginxEnabled` "if" block
  • Loading branch information
alextarasov-spot authored Mar 7, 2024
1 parent 65e11f0 commit a3ed89d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/bigdata-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: bigdata-operator
description: Spot Ocean BigData Operator
type: application
version: 0.4.8
version: 0.4.9
appVersion: 0.4.7
home: https://github.com/spotinst/charts
icon: https://docs.spot.io/_media/images/spot_mark.png
Expand Down
6 changes: 3 additions & 3 deletions charts/bigdata-operator/templates/cluster_manager_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ rules:
- apiGroups: [""]
resources: ["resourcequotas"]
verbs: ["get", "list", "watch"]
- apiGroups: [ "coordination.k8s.io" ]
resources: [ "leases" ]
verbs: [ "get", "list", "watch", "create", "update", "patch", "delete" ]
# ----------------------------------------------------------------------------
# Clean up deployer jobs
# ----------------------------------------------------------------------------
Expand All @@ -115,9 +118,6 @@ rules:
- apiGroups: [""]
resources: ["endpoints", "nodes", "secrets"]
verbs: ["list", "watch"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["list", "watch"]
- apiGroups: ["discovery.k8s.io"]
resources: ["endpointslices"]
verbs: ["list", "watch", "get"]
Expand Down

0 comments on commit a3ed89d

Please sign in to comment.