-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support loading controller configuration from a versioned file #5160
Comments
I am marking this issue as 'help wanted'- contributions very welcome! I think it could be interesting for anyone wanting to understand the concerns around configuring/initializing components that are meant to be deployed on Kubernetes (specifically controllers and webhooks), work done towards building a better mechanism for that upstream This is not really a beginner issue- ideally the person picking it up will have had some experience/understanding of Go CLIs and a bit of experience/exposure to Kubernetes controllers. |
@irbekrm I'll start taking a look, thanks for proposing this! |
@irbekrm I don't have access to this document. |
Hey @AcidLeroy , I don't have access to my laptop right now (bank holidays here in the UK) but I think you need to join Kubernetes dev group to access that https://groups.google.com/a/kubernetes.io/g/dev Let me know if you still cannot access |
Thank you, @irbekrm, that was the secret to viewing the doc. I appreciate it! |
@irbekrm is it possible to assign this issue to me? |
Hey @AcidLeroy , yes of course, thanks for showing interest in this, it would be a really valuable addition! /assign @AcidLeroy |
Issues go stale after 90d of inactivity. |
Stale issues rot after 30d of inactivity. |
Rotten issues close after 30d of inactivity. |
@jetstack-bot: Closing this issue. 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/test-infra repository. |
/reopen |
@irbekrm: Reopened this issue. 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/test-infra repository. |
WIP PR #5337 |
Related Slack discussion https://kubernetes.slack.com/archives/CDEQJ0Q8M/p1658744207696159 |
Issues go stale after 90d of inactivity. |
Stale issues rot after 30d of inactivity. |
/remove-lifecycle rotten |
Support loading controller configuration from a versioned file by adding a new API type containing the existing controller configuration options as fields and allowing a user to optionally pass a configmap containing this API object (as well as continuing to support the current flag-based configuration mechanism (but not both at the same time)).
For context see documentation for a mechanism that allows upstream Kubernetes components to support loading config from versioned files
In cert-manager we would also like to allow for component (webhook, controller, cainjector configuration to be loaded from versioned files).
This should help with cases such as #4489
In #4546 we already implemented support for loading webhook configuration from a versioned file by adding a new
WebhookConfiguration
API type that can be provided to cert-manger webhook in configmap- this issue is for implementing the same change for cert-manager controllerRough outline of steps required (there will likely be a need to do some additional things/do some things differently):
ControllerConfiguration
type to thev1alpha1.config.cert-manager.io
API group + related code to add the new type to the schema, this should be very similar to fb81666ControllerConfiguration
. This change will likely be similar to afa8e5aControllerConfiguration
type to config fuzzer tests similar to how it was done in 415ca56/kind feature
The text was updated successfully, but these errors were encountered: