-
Notifications
You must be signed in to change notification settings - Fork 71
OLM-2695: Adds downstream only CSV Namespace Labeler Plug-In #370
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
OLM-2695: Adds downstream only CSV Namespace Labeler Plug-In #370
Conversation
/hold don't merge until we have the |
/retest |
12c644d
to
052ba18
Compare
/retest |
eaa700c
to
f2a484d
Compare
5bb3d6d
to
df36664
Compare
...ycle-manager/pkg/controller/operators/olm/plugins/downstream_csv_namespace_labeler_plugin.go
Outdated
Show resolved
Hide resolved
df36664
to
dd8fbfd
Compare
ad68b2c
to
47bee61
Compare
41f2be2
to
d4643bc
Compare
Signed-off-by: perdasilva <[email protected]> Signed-off-by: perdasilva <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: 35c5af2a46fd60a2e7eb9777815ab52063d67a02
Signed-off-by: perdasilva <[email protected]>
Signed-off-by: perdasilva <[email protected]>
Signed-off-by: perdasilva <[email protected]>
d4643bc
to
9ba1819
Compare
/retest |
verify is failing due to changes in the staging directory. This is expected since the downstream only changes are made in there. |
/override ci/prow/verify |
@perdasilva: Overrode contexts on behalf of perdasilva: ci/prow/verify In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
@perdasilva: you cannot LGTM your own PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: perdasilva, timflannagan 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 |
/override ci/prow/verify |
@perdasilva: Overrode contexts on behalf of perdasilva: ci/prow/verify In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@perdasilva: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Description
This PR adds the downstream only csv namespace labeler olm controller plug-in. This plug-in adds an additional csv queue informer with a sync method that when a csv is updated/created labels the csv namespace with
security.openshift.io/scc.podSecurityLabelSync=true
if:openshift-operators
openshift-
The csv informer ignores copied csvs and prunes out the body of the csv (save for the metadata section) to be frugal on memory.
NOTE: because this is a downstream only change, it makes changes to the staging directory. Because of this the
verify
job will fail - as it checks that there are no staging directory changes outside of what is brought in from the upstream.