Skip to content

Commit 9c75b32

Browse files
Remove RBACs for persistentvolumes (#1203)
## Summary Remove `persistentvolumes` RBAC permissions from the HCCM ClusterRole and update the generated Helm snapshots/manifests accordingly. ## Why HCCM does not use `PersistentVolume` objects directly. The only references in this repository were RBAC entries in: - the Helm ClusterRole template - the rendered deployment manifests - the Helm snapshot fixtures A code search found no `PersistentVolume` handling in the Hetzner CCM implementation itself. The permission appears to have been carried over from broader upstream CCM RBAC guidance, but it does not appear to be required for this provider. --------- Co-authored-by: Lukas Metzner <lukas.metzner@hetzner-cloud.de>
1 parent 046260f commit 9c75b32

File tree

5 files changed

+0
-45
lines changed

5 files changed

+0
-45
lines changed

chart/.snapshots/default.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ rules:
6060
- serviceaccounts
6161
verbs:
6262
- create
63-
- apiGroups:
64-
- ""
65-
resources:
66-
- persistentvolumes
67-
verbs:
68-
- get
69-
- list
70-
- update
71-
- watch
7263
- apiGroups:
7364
- coordination.k8s.io
7465
resources:

chart/.snapshots/full.daemonset.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ rules:
6060
- serviceaccounts
6161
verbs:
6262
- create
63-
- apiGroups:
64-
- ""
65-
resources:
66-
- persistentvolumes
67-
verbs:
68-
- get
69-
- list
70-
- update
71-
- watch
7263
- apiGroups:
7364
- coordination.k8s.io
7465
resources:

chart/templates/clusterrole.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@ rules:
5252
- serviceaccounts
5353
verbs:
5454
- create
55-
- apiGroups:
56-
- ""
57-
resources:
58-
- persistentvolumes
59-
verbs:
60-
- get
61-
- list
62-
- update
63-
- watch
6455
- apiGroups:
6556
- coordination.k8s.io
6657
resources:

deploy/ccm-networks.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ rules:
6060
- serviceaccounts
6161
verbs:
6262
- create
63-
- apiGroups:
64-
- ""
65-
resources:
66-
- persistentvolumes
67-
verbs:
68-
- get
69-
- list
70-
- update
71-
- watch
7263
- apiGroups:
7364
- coordination.k8s.io
7465
resources:

deploy/ccm.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ rules:
6060
- serviceaccounts
6161
verbs:
6262
- create
63-
- apiGroups:
64-
- ""
65-
resources:
66-
- persistentvolumes
67-
verbs:
68-
- get
69-
- list
70-
- update
71-
- watch
7263
- apiGroups:
7364
- coordination.k8s.io
7465
resources:

0 commit comments

Comments
 (0)