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

Disable authorization flow #185

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

slashben
Copy link
Contributor

This pull request includes changing the pkg/cmd/server/start.go file to disable authorization for the internal endpoint. Storage is only publishing an endpoint for the Kubernetes API Server (internal endpoint) and there is no point in verifying authorization when it is already done by this stage by the Kubernetes API Server.

  • pkg/cmd/server/start.go: Disabled authorization by setting o.RecommendedOptions.Authorization to nil, as the endpoint only answers the API server.

@slashben slashben requested a review from matthyx January 15, 2025 20:10
Copy link

Summary:

  • License scan: failure
  • Credentials scan: failure
  • Vulnerabilities scan: success
  • Unit test: success
  • Go linting: success

@slashben slashben merged commit f7723c7 into main Jan 15, 2025
6 checks passed
@slashben slashben deleted the disabling-double-authorization-for-internal-endpoint branch January 15, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants