Repository navigation
docs: update ListenerSet example to use http01-parentreffallback annotation - #2079
Conversation
✅ Deploy Preview for cert-manager ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
…tation Signed-off-by: apkatsikas <[email protected]>
cccebca to
0ecf31e
Compare
| 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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Hi @ThatsMrTalbot how does this look now?
…ttern Signed-off-by: apkatsikas <[email protected]>
|
|
||
| - `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 |
There was a problem hiding this comment.
nit: The word alternative is confusing here, alternative to what? I think its a better heading if you just drop the word Alternative:
Signed-off-by: apkatsikas <[email protected]>
|
/label tide/merge-method-squash |
|
|
Signed-off-by: apkatsikas <[email protected]>
|
|
Thanks for adding this! /lgtm |
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick release-next |
|
@ThatsMrTalbot: new pull request created: #2095 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. |
Updates the ListenerSet example in the Gateway usage guide to reflect the new
acme.cert-manager.io/http01-parentreffallbackannotation introduced in cert-manager/cert-manager#8749