Skip to content

Commit a79c7d8

Browse files
committed
Added update IPAddressClaims to manager cluster role
1 parent 76071d9 commit a79c7d8

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
@@ -91,6 +91,8 @@ rules:
9191
- delete
9292
- get
9393
- list
94+
- patch
95+
- update
9496
- watch
9597
- apiGroups:
9698
- 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)