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

clear encryption conditions when there is no work to be done #460

Conversation

p0lyn0mial
Copy link
Contributor

@p0lyn0mial p0lyn0mial commented Jul 5, 2021

It turns out that the new precondition checker added in 4.8 might prevent the encryption controllers from running and clearing the stale conditions.
This can happen especially on upgrades from 4.7 to 4.8.

openshift/library-go#1125 changed the encryption controllers to clear stale conditions when the preconditions are not fulfilled.

This PR incorporates it into this operator.

@openshift-ci openshift-ci bot requested review from mfojtik and sttts July 5, 2021 09:51
@p0lyn0mial p0lyn0mial force-pushed the pick-up-clearing-encryption-cond branch from d13aa80 to 420a547 Compare July 5, 2021 14:19
@p0lyn0mial p0lyn0mial changed the title proof for https://github.com/openshift/library-go/pull/1125 pick up https://github.com/openshift/library-go/pull/1125 Jul 5, 2021
@p0lyn0mial p0lyn0mial changed the title pick up https://github.com/openshift/library-go/pull/1125 picks up https://github.com/openshift/library-go/pull/1125 Jul 5, 2021
@p0lyn0mial
Copy link
Contributor Author

/assign @sttts

@p0lyn0mial
Copy link
Contributor Author

/retest

@p0lyn0mial p0lyn0mial changed the title picks up https://github.com/openshift/library-go/pull/1125 clear encryption conditions when there is no work to be done Jul 6, 2021
@sttts
Copy link
Contributor

sttts commented Jul 6, 2021

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 6, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 6, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: p0lyn0mial, 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 6, 2021
@openshift-merge-robot openshift-merge-robot merged commit 3b05d23 into openshift:master Jul 6, 2021
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