Repository navigation
Support loading controller configuration from a versioned file - #5337
Conversation
|
Hi @AcidLeroy. Thanks for your PR. I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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/test-infra repository. |
|
Issues go stale after 90d of inactivity. |
|
/remove-lifecycle stale |
0981a5c to
c3a4b41
Compare
8e3ebe0 to
3992542
Compare
3992542 to
357829f
Compare
9b2cf0a to
9fbd4cc
Compare
9fbd4cc to
351b4be
Compare
|
@AcidLeroy: The following test 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. DetailsInstructions 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/test-infra repository. I understand the commands that are listed here. |
351b4be to
cab2e8e
Compare
inteon
left a comment
There was a problem hiding this comment.
Thank you for making this big improvement.
I rebased the PR and removed some unnecessary LICENSES diffs.
I still have a couple of questions, some of them might just be me not being an expert wrt. this config-file approach.
38caf7f to
7b83211
Compare
Signed-off-by: Cody W. Eilar <[email protected]>
- This commit changes the internal config to have fewer number of optional parameters. It changes the types to match the ones that are already present in https://github.com/kubernetes/apimachinery/blob/master/pkg/apis/meta/v1/conversion.go so that custom converters do not have to be written for types "int" and "float32". Signed-off-by: Cody W. Eilar <[email protected]>
- Needed to add custom conversion functions to handle conversions from public facing types to internal ones. Signed-off-by: Cody W. Eilar <[email protected]>
| logsapi "k8s.io/component-base/logs/api/v1" | ||
| ) | ||
|
|
||
| func Convert_v1alpha1_ControllerConfiguration_To_controller_ControllerConfiguration(in *v1alpha1.ControllerConfiguration, out *controller.ControllerConfiguration, s conversion.Scope) error { |
There was a problem hiding this comment.
nit: Do we need these 2 functions? Are they not auto-generated?
|
This is a great improvement @AcidLeroy! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AcidLeroy, inteon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/unhold |
|
@AcidLeroy Could you also create a website documentation PR for this improvement? |
|
@AcidLeroy Any further improvements can be made in seperate PRs. |
Pull Request Motivation
Closes #5160
The motivation for this pull request is to add a version config file for the cert-manager controller. This follows the guidance from Versioned Component Configuration Files. In addition, this closely follows the pattern defined in PR: #4546.
Checklist
configvalue to the README.Kind
/kind feature
Release Note