Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
fix psp fix (#134)
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Stephenson <[email protected]>
  • Loading branch information
Mojachieee and Joe Stephenson authored May 16, 2022
1 parent 4542741 commit 155d29e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/rbac/bases/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ metadata:
creationTimestamp: null
name: storageos-api-manager
rules:
- apiGroups:
- extensions
resources:
- podsecuritypolicies
verbs:
- use
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -190,6 +184,12 @@ rules:
- patch
- update
- watch
- apiGroups:
- extensions
resources:
- podsecuritypolicies
verbs:
- use
- apiGroups:
- storage.k8s.io
resources:
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ func init() {
// +kubebuilder:rbac:groups="",resources=configmaps,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups="",resources=configmaps/status,verbs=get;update;patch
// +kubebuilder:rbac:groups="coordination.k8s.io",resources=leases,verbs=get;list;watch;create;update;patch;delete
// +kubebuilder:rbac:groups="extensions",resources=podsecuritypolicies,verbs=use

func main() {
var loggerOpts zap.Options
Expand Down

0 comments on commit 155d29e

Please sign in to comment.