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

feat: guard rail for v1beta1 MC #566

Merged
merged 3 commits into from
Oct 19, 2023

Conversation

Arvindthiru
Copy link
Contributor

@Arvindthiru Arvindthiru commented Oct 12, 2023

Description of your changes

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

@Arvindthiru
Copy link
Contributor Author

Arvindthiru commented Oct 16, 2023

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

@Arvindthiru Arvindthiru marked this pull request as ready for review October 16, 2023 19:18
@Arvindthiru Arvindthiru force-pushed the guardRailv1betaMC branch 2 times, most recently from efeefef to 20d0b0c Compare October 16, 2023 22:11
Comment on lines +30 to +33
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"
)
Copy link
Contributor

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?

@ryanzhang-oss ryanzhang-oss merged commit 0060631 into Azure:main Oct 19, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants