Skip to content

Commit f13efe9

Browse files
fix: remove role for configmaps/status which do not exists from leader_election_role.yaml
1 parent 36aa113 commit f13efe9

File tree

4 files changed

+0
-32
lines changed

4 files changed

+0
-32
lines changed

pkg/plugin/v3/scaffolds/internal/templates/leaderelectionrole.go

-8
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,6 @@ rules:
5858
- update
5959
- patch
6060
- delete
61-
- apiGroups:
62-
- ""
63-
resources:
64-
- configmaps/status
65-
verbs:
66-
- get
67-
- update
68-
- patch
6961
- apiGroups:
7062
- ""
7163
resources:

testdata/project-v3-addon/config/rbac/leader_election_role.yaml

-8
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ rules:
1616
- update
1717
- patch
1818
- delete
19-
- apiGroups:
20-
- ""
21-
resources:
22-
- configmaps/status
23-
verbs:
24-
- get
25-
- update
26-
- patch
2719
- apiGroups:
2820
- ""
2921
resources:

testdata/project-v3-multigroup/config/rbac/leader_election_role.yaml

-8
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ rules:
1616
- update
1717
- patch
1818
- delete
19-
- apiGroups:
20-
- ""
21-
resources:
22-
- configmaps/status
23-
verbs:
24-
- get
25-
- update
26-
- patch
2719
- apiGroups:
2820
- ""
2921
resources:

testdata/project-v3/config/rbac/leader_election_role.yaml

-8
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ rules:
1616
- update
1717
- patch
1818
- delete
19-
- apiGroups:
20-
- ""
21-
resources:
22-
- configmaps/status
23-
verbs:
24-
- get
25-
- update
26-
- patch
2719
- apiGroups:
2820
- ""
2921
resources:

0 commit comments

Comments
 (0)