Skip to content

fix(helm): correct gatewayAPI.enabled key in values config example - #9008

Merged
cert-manager-prow[bot] merged 1 commit into
cert-manager:masterfrom
mateenali66:docs/9007-gatewayapi-enabled-values
Jul 10, 2026
Merged

cert-manager-prow[bot] merged 1 commit into
cert-manager:masterfrom
mateenali66:docs/9007-gatewayapi-enabled-values

Conversation

@mateenali66

Copy link
Copy Markdown
Contributor

Pull Request Motivation

The commented config example in the cert-manager helm chart values used:

gatewayAPI:
  enable: true

but the ControllerConfiguration field is enabled (GatewayAPIConfig.Enabled, read in cmd/controller/app/controller.go as opts.GatewayAPIConfig.Enabled; the old top-level enableGatewayAPI is deprecated). Following the example as written fails to enable Gateway API support. Corrected the key to enabled: true in values.yaml and regenerated values.schema.json via helm-tool schema.

Fixes #9007.

Kind

/kind bug

Release Note

Fixed the commented Gateway API config example in the Helm chart values to use `gatewayAPI.enabled` instead of the invalid `gatewayAPI.enable`.

@cert-manager-prow cert-manager-prow Bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/bug Categorizes issue or PR as related to a bug. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. area/deploy Indicates a PR modifies deployment configuration labels Jul 10, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@cert-manager-prow cert-manager-prow Bot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 10, 2026
@erikgb

erikgb commented Jul 10, 2026

Copy link
Copy Markdown
Member

/ok-to-test

@cert-manager-prow cert-manager-prow Bot added ok-to-test and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jul 10, 2026
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]>
@mateenali66
mateenali66 force-pushed the docs/9007-gatewayapi-enabled-values branch from 932d378 to d0b237c Compare July 10, 2026 15:46
@erikgb
erikgb requested a review from Copilot July 10, 2026 15:55
@erikgb

erikgb commented Jul 10, 2026

Copy link
Copy Markdown
Member

/cc

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.gatewayAPI example in values.yaml to use enabled: true (instead of the invalid enable: 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 erikgb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@cert-manager-prow cert-manager-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 10, 2026
@cert-manager-prow

Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@cert-manager-prow cert-manager-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 10, 2026
@cert-manager-prow
cert-manager-prow Bot merged commit cad43d7 into cert-manager:master Jul 10, 2026
@wallrj-cyberark

Copy link
Copy Markdown
Member

/cherry-pick release-1.21

@cert-manager-bot

Copy link
Copy Markdown
Contributor

@wallrj-cyberark: new pull request created: #9012

Details

In response to this:

/cherry-pick release-1.21

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/deploy Indicates a PR modifies deployment configuration dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. ok-to-test release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

values files show incorrect configuration for enabling Gateway API support

5 participants