Skip to content

Commit f8ef6a5

Browse files
committed
Added update IPAddressClaims to manager cluster role
1 parent 296726f commit f8ef6a5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/rbac/role.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,8 @@ rules:
103103
- delete
104104
- get
105105
- list
106+
- patch
107+
- update
106108
- watch
107109
- apiGroups:
108110
- ipam.cluster.x-k8s.io

controllers/openstackmachine_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const (
7575
// +kubebuilder:rbac:groups=infrastructure.cluster.x-k8s.io,resources=openstackmachines,verbs=get;list;watch;create;update;patch;delete
7676
// +kubebuilder:rbac:groups=infrastructure.cluster.x-k8s.io,resources=openstackmachines/status,verbs=get;update;patch
7777
// +kubebuilder:rbac:groups=cluster.x-k8s.io,resources=machines;machines/status,verbs=get;list;watch
78-
// +kubebuilder:rbac:groups=ipam.cluster.x-k8s.io,resources=ipaddressclaims;ipaddressclaims/status,verbs=get;list;watch;create;delete
78+
// +kubebuilder:rbac:groups=ipam.cluster.x-k8s.io,resources=ipaddressclaims;ipaddressclaims/status,verbs=get;list;watch;create;update;patch;delete
7979
// +kubebuilder:rbac:groups=ipam.cluster.x-k8s.io,resources=ipaddresses;ipaddresses/status,verbs=get;list;watch
8080
// +kubebuilder:rbac:groups="",resources=secrets;,verbs=get;list;watch
8181
// +kubebuilder:rbac:groups="",resources=events,verbs=get;list;watch;create;update;patch

0 commit comments

Comments
 (0)