Skip to content

Commit

Permalink
Merge pull request #105 from tinkerbell/revert-102-update-perms
Browse files Browse the repository at this point in the history
Revert "Remove list permission on secrets for Rufio:"

Reverts #102

Rufio uses controller-runtime. Controller-runtime needs list permissions for its caching mechanism.
_"// Cache is the cache.Options that will be used to create the default Cache.
// By default, the cache will watch and list requested objects in all namespaces."_ -  https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/manager#Options

kubernetes-sigs/controller-runtime#1220
  • Loading branch information
jacobweinstock authored Jun 11, 2024
2 parents bb98f83 + 9ca912e commit 89cd621
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tinkerbell/rufio/templates/cluster-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ rules:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- bmc.tinkerbell.org
Expand Down

0 comments on commit 89cd621

Please sign in to comment.