- 
  Notifications
 
You must be signed in to change notification settings  - Fork 186
 
don't use cluster scope permissions when metrics auth is disabled #1804
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
Conversation
Signed-off-by: Nir Rozenbaum <nirro@il.ibm.com>
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: nirrozenbaum
The full list of commands accepted by this bot can be found here.
The pull request process is described here
(削除) OWNERS (削除ここまで)[nirrozenbaum]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
 ✅ Deploy Preview for gateway-api-inference-extension ready!
 To edit notification comments on pull requests, go to your Netlify project configuration.  | 
 
/retest
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
when deploying IGW with prometheus.enabled == false, metrics auth is disabled.
in such a case, the
filter.WithAuthenticationAndAuthorizationwill not be called, making the creation of the cluster scope rbac unnecessary.This PR aims to deploy in local envs using ns scope permissions only.
more details here:
gateway-api-inference-extension/cmd/epp/runner/runner.go
Lines 227 to 232 in e20606e
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: