Skip to content

Commit

Permalink
changed secrets rb to crb for ts-4
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMHD committed Aug 23, 2023
1 parent 2a35661 commit 2433442
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,6 @@ rules:
- get
- patch
- update
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
creationTimestamp: null
name: manager-role
namespace: cerberus-operator-system
rules:
- apiGroups:
- v1
resources:
Expand Down
2 changes: 1 addition & 1 deletion pkg/auth/authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const (
//+kubebuilder:rbac:groups=cerberus.snappcloud.io,resources=webservices/status,verbs=get;
//+kubebuilder:rbac:groups=cerberus.snappcloud.io,resources=webserviceaccountbindings,verbs=get;list;watch;
//+kubebuilder:rbac:groups=cerberus.snappcloud.io,resources=webserviceaccountbindings/status,verbs=get;
//+kubebuilder:rbac:groups=v1,namespace=cerberus-operator-system,resources=secrets,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:groups=v1,resources=secrets,verbs=get;list;watch;create;update;patch;delete

func (a *Authenticator) UpdateCache(c client.Client, ctx context.Context) error {
a.updateLock.Lock()
Expand Down

0 comments on commit 2433442

Please sign in to comment.