Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove list permission on secrets for Rufio: #102

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

jacobweinstock
Copy link
Member

Description

This is unneeded and a potential security issue.

Why is this needed

Fixes: #96

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

This is unneeded and a potential security issue.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock jacobweinstock merged commit f64eb25 into tinkerbell:main Jun 10, 2024
3 checks passed
@jacobweinstock jacobweinstock deleted the update-perms branch June 10, 2024 19:40
jacobweinstock added a commit that referenced this pull request Jun 11, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Unnecessary RBAC permissions in Helm Charts
1 participant