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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Syncer: add 'get' permission on downstream namespaces #2475

Conversation

davidfestal
Copy link
Member

Summary

In some cases, especially when some concurrency occurs while creating the downstream namespace, the syncer might need to get a just-created namespace.
But currently the syncer service account isn't granted the get permission on downstream namespaces, though it is granted both list and watch. This PR adds the get verb to the syncer cluster role.

Related issue(s)

No related issue. Bug identified during the tests of another PR.

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 12, 2022
Signed-off-by: David Festal <dfestal@redhat.com>
@davidfestal davidfestal force-pushed the add-get-namespaces-perm-downstream branch from f5c33dd to f11fbd7 Compare December 12, 2022 13:53
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2022
@ncdc
Copy link
Member

ncdc commented Dec 12, 2022

Flake kcp-dev/contrib-tmc#93
/retest

@davidfestal
Copy link
Member Author

@ncdc I need your lgtm again after my changes.

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2022
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 12, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ncdc

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ncdc
Copy link
Member

ncdc commented Dec 12, 2022

Flake #2479
/test e2e-sharded

@openshift-merge-robot openshift-merge-robot merged commit 20b1076 into kcp-dev:main Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants