Skip to content

Commit

Permalink
Add watch and list to secret rbac (#862)
Browse files Browse the repository at this point in the history
Signed-off-by: Vince Prignano <[email protected]>
  • Loading branch information
vincepri authored and k8s-ci-robot committed Jul 1, 2019
1 parent 311c67b commit 86012e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/rbac/rbac_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ rules:
verbs:
- create
- get
- watch
- list
- apiGroups:
- awsprovider.k8s.io
resources:
Expand Down
2 changes: 1 addition & 1 deletion pkg/cloud/aws/actuators/cluster/actuator.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (

//+kubebuilder:rbac:groups=awsprovider.k8s.io,resources=awsclusterproviderconfigs;awsclusterproviderstatuses,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=cluster.k8s.io,resources=clusters;clusters/status,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=,resources=secrets,verbs=create;get
//+kubebuilder:rbac:groups=,resources=secrets,verbs=create;get;watch;list

// Actuator is responsible for performing cluster reconciliation
type Actuator struct {
Expand Down

0 comments on commit 86012e5

Please sign in to comment.