Skip to content

Commit 89f0e34

Browse files
andrewrynhardrsmitty
authored andcommitted
refactor: align resource naming conventions with upstream CAPI
Signed-off-by: Andrew Rynhard <[email protected]>
1 parent 4827b14 commit 89f0e34

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

config/rbac/auth_proxy_role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
4-
name: controller-manager-proxy-role
4+
name: proxy-role
55
rules:
66
- apiGroups: ['authentication.k8s.io']
77
resources:

config/rbac/auth_proxy_role_binding.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRoleBinding
33
metadata:
4-
name: controller-manager-proxy-rolebinding
4+
name: proxy-rolebinding
55
roleRef:
66
apiGroup: rbac.authorization.k8s.io
77
kind: ClusterRole
8-
name: controller-manager-proxy-role
8+
name: proxy-role
99
subjects:
1010
- kind: ServiceAccount
1111
name: default

config/rbac/leader_election_role.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: Role
44
metadata:
5-
name: controller-manager-leader-election-role
5+
name: leader-election-role
66
rules:
77
- apiGroups:
88
- ''

config/rbac/leader_election_role_binding.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: RoleBinding
33
metadata:
4-
name: controller-manager-leader-election-rolebinding
4+
name: leader-election-rolebinding
55
roleRef:
66
apiGroup: rbac.authorization.k8s.io
77
kind: Role
8-
name: controller-manager-leader-election-role
8+
name: leader-election-role
99
subjects:
1010
- kind: ServiceAccount
1111
name: default

0 commit comments

Comments
 (0)