-
Notifications
You must be signed in to change notification settings - Fork 386
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
🌱 *: remove tenancy.kcp.dev/v1alpha1.ClusterWorkspace #2543
🌱 *: remove tenancy.kcp.dev/v1alpha1.ClusterWorkspace #2543
Conversation
Hm, tests are flaky even locally. No idea why that might be - any chance it's due to these mechanical changes @ncdc ? |
go.mod
Outdated
@@ -9,6 +9,7 @@ require ( | |||
github.com/bombsimon/logrusr/v3 v3.0.0 | |||
github.com/coredns/caddy v1.1.1 | |||
github.com/coredns/coredns v1.9.3 | |||
github.com/dave/dst v0.27.2 |
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.
Will drop the auto-refactor file & go.mod diffs when ready to merge.
/retest |
1dc0589
to
836a270
Compare
836a270
to
92bd6e2
Compare
/retest |
🤔 |
92bd6e2
to
9bb6208
Compare
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
There's no real utility to having two different types for this reference and having the same data inside of it regardless. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
In order to set the required-groups annotation, we must be the shard admin. However, by being that powerful, we side-step admission and any workspaces created with that privilege do not have owner annotations, which are required for workspace initialization. Therefore, when we use that privilege we also need to hard-code a workspace owner annotation ourselves as well. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
9bb6208
to
e1320de
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sttts The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
localAuth, localResolver := authz.NewLocalAuthorizer(informer) | ||
localAuth = authz.NewDecorator("local.authorization.kcp.io", localAuth).AddAuditLogging().AddAnonymization().AddReasonAnnotation() | ||
|
||
// everything below - skipped for Deep SAR |
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.
@s-urbaniak this shouldn't be the case. maxPermissionPolicyAuth and systemCRDAuth should both be applied for deep authz.
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.
hrmpf, sorry, explained that wrong, my bad, will follow-up with a PR tomorrow 👍
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.
Your PR description is really short.
Your PR description is really short.
Your PR description is really short.
Your PR description is really short.
Your PR description is really short.