-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: guard rail for v1beta1 MC #566
Conversation
5769d1d
to
7039eff
Compare
I'm not sure why this run failed exactly but wanted to bring it up before merging the PR https://github.com/Azure/fleet/actions/runs/6537345902/job/17750988112 After offline sync: seems like a very rare case not sure of the root cause yet, have not been able to replicate it again |
efeefef
to
20d0b0c
Compare
1104a4a
to
b9abb93
Compare
var ( | ||
mcGVK = metav1.GroupVersionKind{Group: clusterv1beta1.GroupVersion.Group, Version: clusterv1beta1.GroupVersion.Version, Kind: "MemberCluster"} | ||
resourceDeniedFormat = "user: %s in groups: %v is not allowed to %s resource %+v/%s: %+v" | ||
) |
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.
why add those in a file that does not use them?
Description of your changes
Fixes #
I have:
make reviewable
to ensure this PR is ready for review.How has this code been tested
Special notes for your reviewer