Skip to content

Commit 9793381

Browse files
committed
Fix secrets RBAC
1 parent 26b27c1 commit 9793381

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/rbac/role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ rules:
1111
verbs:
1212
- get
1313
- list
14+
- patch
1415
- update
1516
- watch
1617
- apiGroups:

internal/controller/scalewaycluster_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func NewScalewayClusterReconciler(c client.Client) *ScalewayClusterReconciler {
5050
// +kubebuilder:rbac:groups=infrastructure.cluster.x-k8s.io,resources=scalewayclusters/status,verbs=get;update;patch
5151
// +kubebuilder:rbac:groups=infrastructure.cluster.x-k8s.io,resources=scalewayclusters/finalizers,verbs=update
5252
// +kubebuilder:rbac:groups=cluster.x-k8s.io,resources=clusters;clusters/status,verbs=get;list;watch
53-
// +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;update
53+
// +kubebuilder:rbac:groups="",resources=secrets,verbs=get;list;watch;update;patch
5454

5555
// Reconcile is part of the main kubernetes reconciliation loop which aims to
5656
// move the current state of the cluster closer to the desired state.

0 commit comments

Comments
 (0)