ansh0014 commented on PR #6969:
URL: https://github.com/apache/camel-k/pull/6969#issuecomment-6944211848

   Hi @squakez,
   
   I will update the env vars to remove the `KAMEL_OPERATOR_` prefix.
   
   Regarding the RBAC and `go.mod` updates:
   I added the RBAC because controller-runtime's 
`filters.WithAuthenticationAndAuthorization` requires `TokenReview` and 
`SubjectAccessReview` permissions to validate caller tokens when 
`--metrics-auth` is enabled. It's used by the controller-runtime library, not 
directly by Camel K. The `go.mod` dependencies are also pulled in by importing 
that filter package.
   
   What do you suggest? Should we keep `--metrics-auth` with these RBAC rules 
and dependencies, or should we keep only TLS (`SecureServing: true`) and drop 
the auth filter and RBAC to keep `go.mod` clean?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to