Repository navigation
fix(helm): correct gatewayAPI.enabled key in values config example - #9008
Conversation
|
Hi @mateenali66. 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 Regular contributors should join the org to skip this step. 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-sigs/prow repository. |
|
/ok-to-test |
The commented config example in the cert-manager helm chart values used `gatewayAPI: enable: true`, but the ControllerConfiguration field is `enabled` (GatewayAPIConfig.Enabled), so following the example fails. Correct the key and regenerate values.schema.json and README.template.md. Fixes cert-manager#9007. Signed-off-by: Mateen Anjum <[email protected]>
932d378 to
d0b237c
Compare
|
/cc |
There was a problem hiding this comment.
Pull request overview
Fixes a Helm chart documentation/configuration example so users can correctly enable cert-manager’s Gateway API integration via the ControllerConfiguration embedded in chart values.
Changes:
- Update the commented
config.gatewayAPIexample invalues.yamlto useenabled: true(instead of the invalidenable: true). - Regenerate/update the corresponding example text in
values.schema.json. - Update the same example in the chart README template.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| deploy/charts/cert-manager/values.yaml | Corrects the commented Gateway API config example key to enabled. |
| deploy/charts/cert-manager/values.schema.json | Updates the generated schema description example to match gatewayAPI.enabled. |
| deploy/charts/cert-manager/README.template.md | Updates the documented example snippet to enabled. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
erikgb
left a comment
There was a problem hiding this comment.
Thanks a lot @mateenali66! 🚀
/lgtm
/approve
@wallrj, this is not a critical bug, but I lean towards cherry-picking this into release-1.21 to include it in our next patch release. This Helm/config feature appears to be new in 1.21.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: erikgb 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 |
|
/cherry-pick release-1.21 |
|
@wallrj-cyberark: new pull request created: #9012 DetailsIn 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. |
Pull Request Motivation
The commented
configexample in the cert-manager helm chart values used:but the
ControllerConfigurationfield isenabled(GatewayAPIConfig.Enabled, read incmd/controller/app/controller.goasopts.GatewayAPIConfig.Enabled; the old top-levelenableGatewayAPIis deprecated). Following the example as written fails to enable Gateway API support. Corrected the key toenabled: trueinvalues.yamland regeneratedvalues.schema.jsonviahelm-tool schema.Fixes #9007.
Kind
/kind bug
Release Note