-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: Introduce certificate duration #354
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some doubts about unsafe usage of *time.Duration
in some helper methods.
If I remember correctly, the Duration
field of the struct ObtainInput
is a pointer, as it may be unset for the ACME case. But at some level there should be a check to guard against nil pointer exception.
cherry picked from: 32bd917
a5db567
to
46e7aaa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: 8430d60057b25891ecb12756c1763d155a16d579
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MartinWeindel 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 |
How to categorize this PR?
/kind enhancement
What this PR does / why we need it:
This PR cherry-picks commits from #228 and introduces the
Duration
field on theCertificate
resource.It allows you to specify the certificate's lifetime. Issuers, like Let's Encrypt, may ignore this field.
As a secondary goal, by extracting the changes around the duration of certificates from #228 its changeset should become smaller and focused around the introduction of the self-signed issuer.
Which issue(s) this PR fixes:
n.a.
Special notes for your reviewer:
/cc @MartinWeindel
Release note: