-
Notifications
You must be signed in to change notification settings - Fork 0
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
Require Admin to restart Oauth2Proxy #674
Conversation
api/kubequery/radixapplication.go
Outdated
return access.HasAccess(ctx, kubeClient, &authorizationapi.ResourceAttributes{ | ||
Verb: "patch", | ||
Group: "", | ||
Resource: radixv1.KindRadixRegistration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resource: radixv1.KindRadixRegistration, | |
Resource: radixv1.ResourceRadixRegistrations, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
api/kubequery/radixapplication.go
Outdated
func IsRadixApplicationAdmin(ctx context.Context, kubeClient kubernetes.Interface, appName string) (bool, error) { | ||
return access.HasAccess(ctx, kubeClient, &authorizationapi.ResourceAttributes{ | ||
Verb: "patch", | ||
Group: "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Group: "", | |
Group: radixv1.GroupName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
Release Require Admin to restart Oauth2Proxy (#674)
No description provided.