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

Refactor installer to surface certificate rotation #2775

Merged

Conversation

perdasilva
Copy link
Collaborator

@perdasilva perdasilva commented May 11, 2022

Signed-off-by: perdasilva perdasilva@redhat.com

Description of the change:
Refactors the installer interface to surface certificate rotation, fixing the issue where were calculating the rotation time twice, independently, in different places. This is more robust and will signal the certificate has rotated for any reason (missing pod, or other resource).

Motivation for the change:
Closes: #2773 #2764

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Docs updated or added to /doc
  • Commit messages sensible and descriptive
  • Tests marked as [FLAKE] are truly flaky
  • Tests that remove the [FLAKE] tag are no longer flaky

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 11, 2022
@perdasilva perdasilva force-pushed the fix_cert_rotation_test branch 3 times, most recently from 9c44cf5 to 03225f0 Compare May 11, 2022 16:54
Copy link
Member

@dinhxuanvu dinhxuanvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good.

pkg/controller/install/deployment.go Show resolved Hide resolved
Signed-off-by: perdasilva <perdasilva@redhat.com>
Copy link
Member

@dinhxuanvu dinhxuanvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

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

openshift-ci bot commented May 12, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dinhxuanvu, perdasilva

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:
  • OWNERS [dinhxuanvu,perdasilva]

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 merged commit 9ced412 into operator-framework:master May 12, 2022
perdasilva added a commit to perdasilva/operator-lifecycle-manager that referenced this pull request May 23, 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.

[flake] TestCARotation/ValidCert/SecretMissing/NewCertCreated unit test
2 participants