-
Notifications
You must be signed in to change notification settings - Fork 2.2k
feat: API defaults for IssuerRef #7414
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: API defaults for IssuerRef #7414
Conversation
@erikgb: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Skipping CI for Draft Pull Request. |
49b6cd0
to
9cbc13b
Compare
Issues go stale after 90d of inactivity. |
9cbc13b
to
c92b316
Compare
/test all |
c92b316
to
d3da561
Compare
/test all |
@erikgb: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
a75d547
to
7c6caff
Compare
7c6caff
to
4c40de6
Compare
4c40de6
to
678dab2
Compare
/remove-lifecycle stale |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bashlion, inteon 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 |
Signed-off-by: Erik Godding Boye <egboye@gmail.com>
678dab2
to
236523b
Compare
/lgtm |
Pull Request Motivation
This PR will add the first API defaults to cert-manager APIs. I have personally been motivated to suggest this multiple times, as I think the cert-manager defaults are too "hidden". At least not evident for consumers of cert-manager Go API. PR was triggered by cert-manager/approver-policy#523 (comment).
Since the fields we are adding API defaults belong to a struct with a very "general" name (
ObjectReference
), I suggest renaming the struct as part of this PR. After discussing this change in our bi-weekly development meeting, I have attempted to make this change non-breaking in the Go API by aliasing the struct type to its current name.I am not sure this will be 100% non-breaking, but I think so.UPDATE: This change will be non-breaking. For now, I have kept the cert-manager use of the deprecatedObjectReference
, and it compiles.Kind
/kind feature
Release Note