-
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
Self signed issuer #228
Self signed issuer #228
Conversation
Skipping CI for Draft Pull Request. |
f60c915
to
9c51ce4
Compare
9c51ce4
to
4f9cd53
Compare
4f9cd53
to
b226841
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.
Thanks for your contribution.
I have some requests for improvement:
- duration should also be handled by CA and ACME issuers
- creating a CA certificate with
.spec.csr
does not yet work correctly
97835b5
to
340bdb4
Compare
/kind enhancement |
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.
Thanks for new tests and bringing the PR in shape!
I've only some suggestions for minor improvements.
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
Thanks!
LGTM label has been added. Git tree hash: d055a3adcf409fe425b4ed615983eaaea105fcdb
|
[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 |
What this PR does / why we need it:
Creating a self-signed certificate was already possible using a CA issuer. Using this approach you need to manually create a self-signed certificate using
openssl
, create a secret out of it and reference this secret in your CA issuer.To simplify this manual process a new issuer of type
SelfSigned
is created, which creates a self-signed certificate.In addition, two additional features are added:
The certificate resource can now define a👉 introduced via feat: Introduce certificate duration #354duration
(lifetime of the certificate). This field may be ignored by the issuer (especially Let's encrypt)Specifying a👉 introduced via fix creating certificates with a given csr referencing a ca issuer #234csr
is now possible with issuers of typeSelfSigned
andca
Which issue(s) this PR fixes:
Fixes #183
Special notes for your reviewer:
Release note: