-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
add flag to enable Gateway api support in helm chart #7121
Conversation
Signed-off-by: Mathias Petermann <mathias.petermann@gmail.com>
Hi @peschmae. 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. 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. |
Hey, thanks for sharing! I agree that the approach we went with in 1.15, which is to advise people to add to use Nit: it looks like most Helm charts around use the typography |
Didn't even think about checking that, but that's a good input. I'll adjust it. I also realised I forgot to update the helm schema, will do that asap. |
Signed-off-by: Mathias Petermann <mathias.petermann@gmail.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Mathias Petermann <mathias.petermann@gmail.com>
Hey, during this morning's open standup I've learned that there is already a (somewhat hidden) way of doing exactly that with cert-manager 1.15: helm upgrade -i ... \
--set config.apiVersion="controller.config.cert-manager.io/v1alpha1" \
--set config.kind="ControllerConfiguration" \
--set config.enableGatewayAPI="true" \ This way of enabling Gateway API through Helm isn't documented in What do you think? |
In 1.16 and above, you no longer have to pass make helm-chart
helm upgrade --install cert-manager _bin/helm/cert-manager --create-namespace --namespace cert-manager \
--set crds.enabled=true \
--set config.enableGatewayAPI=true The last missing bits would be to (1) document this clearly in values.yaml (cert-manager/website#1517), and (2) remove the "experimental" mentions as you already did. |
PR needs rebase. 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 propose to close this since the alternative solution works great. I've opened cert-manager/website#1517 to add this solution to the documentation. Feel free to re-open if you feel that |
Pull Request Motivation
Release 1.15.0 promoted Gateway API to a beta feature in #6961
The Helm Chart still references the featureGate and provides no easy way to enable the Gateway API support.
This pull request adds a new Helm value
enableGatewayAPI: false
which toggles the--enable-gateway-api
arg on the deployment.Kind
/kind feature
Release Note