Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

Increase rotationThreshold to 24 hours - #273

Merged
knative-prow[bot] merged 2 commits into
knative-extensions:mainfrom
nak3:increase-rotationThreshold
Apr 12, 2023
Merged

knative-prow[bot] merged 2 commits into
knative-extensions:mainfrom
nak3:increase-rotationThreshold

Conversation

@nak3

@nak3 nak3 commented Apr 7, 2023

Copy link
Copy Markdown
Contributor

As per title, this patch increase rotationThreshold to 24 hours.

As described in #272, the rotation does not happen when secret is not updated. The DefaultResyncPeriod is 10hour so increasing 24 hours should work.

pkg/webhook also has the 24 hours threshold.

Fix #272

@knative-prow knative-prow Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 7, 2023
@codecov

codecov Bot commented Apr 7, 2023 •

Copy link
Copy Markdown

Codecov Report

Merging #273 (83de97e) into main (3531529) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #273   +/-   ##
=======================================
  Coverage   73.17%   73.17%           
=======================================
  Files          23       23           
  Lines        1394     1394           
=======================================
  Hits         1020     1020           
  Misses        317      317           
  Partials       57       57           
Impacted Files Coverage Δ
pkg/certificates/reconciler/certificates.go 69.49% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@nak3

nak3 commented Apr 10, 2023

Copy link
Copy Markdown
Contributor Author

@ReToCode ReToCode left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

/lgtm

/hold of other reviewers to chime in.

@knative-prow knative-prow Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 11, 2023
@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 11, 2023
@davidhadas

Copy link
Copy Markdown
Contributor

This change means we will replace any certificate that has less than 24 H to expire.
Our certificates are created for 30 days, so replacing them after 29 days makes sense.
/lgtm

@evankanderson

Copy link
Copy Markdown
Contributor

/approve

We should get some of y'all into owners for this repo.

@knative-prow

knative-prow Bot commented Apr 12, 2023

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidhadas, evankanderson, nak3, ReToCode

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@knative-prow knative-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 12, 2023
@davidhadas

Copy link
Copy Markdown
Contributor

/unhold

@knative-prow knative-prow Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 12, 2023
@knative-prow
knative-prow Bot merged commit 7879893 into knative-extensions:main Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Certificate rotation for expiration does not reliably work

4 participants