Skip to content

docs: update ListenerSet example to use http01-parentreffallback annotation - #2079

Merged
cert-manager-prow[bot] merged 4 commits into
cert-manager:masterfrom
apkatsikas:docs/listenerset-http01-fallback
May 11, 2026
Merged

cert-manager-prow[bot] merged 4 commits into
cert-manager:masterfrom
apkatsikas:docs/listenerset-http01-fallback

Conversation

@apkatsikas

Copy link
Copy Markdown
Contributor

Updates the ListenerSet example in the Gateway usage guide to reflect the new acme.cert-manager.io/http01-parentreffallback annotation introduced in cert-manager/cert-manager#8749

  • Removes the HTTP listener from the ListenerSet (tenants declare HTTPS only)
  • Adds the fallback annotation to the example ListenerSet
  • Updates the generated Certificate to show Gateway parentRef annotations
  • Adds the annotation to the Supported Annotations section

@cert-manager-prow cert-manager-prow Bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 26, 2026
@netlify

netlify Bot commented Apr 26, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cert-manager ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit a514648
🔍 Latest deploy log https://app.netlify.com/projects/cert-manager/deploys/6a022c469309340008535127
😎 Deploy Preview https://deploy-preview-2079--cert-manager.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@apkatsikas
apkatsikas force-pushed the docs/listenerset-http01-fallback branch from cccebca to 0ecf31e Compare April 26, 2026 14:46
@cert-manager-prow cert-manager-prow Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 26, 2026
Comment thread content/docs/usage/gateway.md Outdated
The `dummy` listener is required because the `listeners` cannot be left empty.
See the [issue 4425](https://github.com/kubernetes-sigs/gateway-api/issues/4425)
in the Gateway API project to learn more.
The Gateway's HTTP listener serves ACME HTTP-01 challenges for all tenant ListenerSets.

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.

This is only true if you use the new annotation, I think we should document the new annotation as an alternative, keeping existing documentation as-is, as it is correct. We can add a section at the end on what the annotation does, and the new pattern this allows you to do.

There are many cases where you may want the http listener on each listenerset, for example in the case where you want listernersets to completely own domains and their routing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @ThatsMrTalbot how does this look now?

@cert-manager-prow cert-manager-prow Bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 1, 2026
@apkatsikas
apkatsikas requested a review from ThatsMrTalbot May 1, 2026 20:09
Comment thread content/docs/usage/gateway.md Outdated

- `acme.cert-manager.io/http01-parentreffallback`: when set to `"true"`, cert-manager uses the ListenerSet's `spec.parentRef` (the parent Gateway) as the `parentRef` on the HTTPRoute it creates to serve ACME HTTP-01 challenges, instead of the ListenerSet itself.

### Alternative: HTTPS-only ListenerSet with shared Gateway HTTP listener

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.

nit: The word alternative is confusing here, alternative to what? I think its a better heading if you just drop the word Alternative:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ThatsMrTalbot

Copy link
Copy Markdown
Contributor

/label tide/merge-method-squash

@cert-manager-prow cert-manager-prow Bot added the tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges. label May 11, 2026
@ThatsMrTalbot

Copy link
Copy Markdown
Contributor

parentrefnamespace needs adding to https://github.com/cert-manager/website/blob/master/.spelling

@apkatsikas
apkatsikas requested a review from ThatsMrTalbot May 11, 2026 19:21
@apkatsikas

Copy link
Copy Markdown
Contributor Author

@ThatsMrTalbot

Copy link
Copy Markdown
Contributor

Thanks for adding this!

/lgtm
/approve

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

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ThatsMrTalbot

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 May 11, 2026
@cert-manager-prow
cert-manager-prow Bot merged commit a20cc8d into cert-manager:master May 11, 2026
4 checks passed
@ThatsMrTalbot

Copy link
Copy Markdown
Contributor

/cherry-pick release-next

@cert-manager-bot

Copy link
Copy Markdown
Contributor

@ThatsMrTalbot: new pull request created: #2095

Details

In response to this:

/cherry-pick release-next

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. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tide/merge-method-squash Denotes a PR that should be squashed by tide when it merges.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants