-
Notifications
You must be signed in to change notification settings - Fork 377
Add doc content for new Ingress annotation http01-ingress-ingressclassname
#1848
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
base: release-next
Are you sure you want to change the base?
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. |
bba2172 to
8d35518
Compare
|
/cc @maelvls Please feel free to review it once you get the bandwidth. Thank you |
|
[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 |
…ride-ingress-ingressclassname" Signed-off-by: Yuedong Wu <[email protected]>
…ingressclassname" Signed-off-by: Yuedong Wu <[email protected]>
SgtCoDFish
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 minor things with some suggestions. Thank you 🙏
| this annotation allows you to configure the `kubernetes.io/ingress.class` that will be | ||
| used to solve challenges for this ingress. Customizing this is useful when you are trying | ||
| to secure internal services, and need to solve challenges using a different ingress class | ||
| to that of the ingress. If not specified and the `acme-http01-edit-in-place` annotation is | ||
| not set, this defaults to the `http01.ingress.class` defined in the Issuer resource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick (minor): I think we should start with a capital letter here, and I don't think we need to say "this annotation" because I think in context it's clear that it's an annotation.
(I can see you adapted this from elsewhere in the docs where it's already present, but I think it's worth writing differently anyway!)
| this annotation allows you to configure the `kubernetes.io/ingress.class` that will be | |
| used to solve challenges for this ingress. Customizing this is useful when you are trying | |
| to secure internal services, and need to solve challenges using a different ingress class | |
| to that of the ingress. If not specified and the `acme-http01-edit-in-place` annotation is | |
| not set, this defaults to the `http01.ingress.class` defined in the Issuer resource. | |
| Allows the `kubernetes.io/ingress.class` annotation to be configured. | |
| Customizing this is useful when you are trying | |
| to secure internal services, and need to solve challenges using a different ingress class | |
| to that of the ingress. If not specified and the `acme-http01-edit-in-place` annotation is | |
| not set, this defaults to the `http01.ingress.class` defined in the Issuer resource. |
| this annotation allows you to configure the `spec.ingressClassName` that will be | ||
| used to solve challenges for this ingress. Customizing this is useful when you are trying | ||
| to secure internal services, and need to solve challenges using a different ingress class | ||
| to that of the ingress. If not specified and the `acme-http01-edit-in-place` annotation is | ||
| not set, this defaults to the `http01.ingress.ingressClassName` defined in the Issuer resource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick (minor): (As above) I think we should start with a capital letter here, and I don't think we need to say "this annotation" because I think in context it's clear that it's an annotation.
(I can see you adapted this from elsewhere in the docs where it's already present, but I think it's worth writing differently anyway!)
| this annotation allows you to configure the `spec.ingressClassName` that will be | |
| used to solve challenges for this ingress. Customizing this is useful when you are trying | |
| to secure internal services, and need to solve challenges using a different ingress class | |
| to that of the ingress. If not specified and the `acme-http01-edit-in-place` annotation is | |
| not set, this defaults to the `http01.ingress.ingressClassName` defined in the Issuer resource. | |
| Allows the Ingress's `spec.ingressClassName` to be configured. | |
| Customizing this is useful when you are trying | |
| to secure internal services, and need to solve challenges using a different ingress class | |
| to that of the ingress. If not specified and the `acme-http01-edit-in-place` annotation is | |
| not set, this defaults to the `http01.ingress.ingressClassName` defined in the Issuer resource. |
| - `acme.cert-manager.io/http01-ingress-class`: this annotation allows you to | ||
| configure the ingress class that will be used to solve challenges for this | ||
| ingress. Customizing this is useful when you are trying to secure internal | ||
| configure the `kubernetes.io/ingress.class` that will be used to solve challenges | ||
| for this ingress. Customizing this is useful when you are trying to secure internal | ||
| services, and need to solve challenges using a different ingress class to that | ||
| of the ingress. If not specified and the `acme-http01-edit-in-place` annotation | ||
| is not set, this defaults to the ingress class defined in the Issuer resource. | ||
| is not set, this defaults to the `http01.ingress.class` defined in the Issuer resource. | ||
|
|
||
| - `acme.cert-manager.io/http01-ingress-ingressclassname`: this annotation allows you to | ||
| configure the `spec.ingressClassName` that will be used to solve challenges | ||
| for this ingress. Customizing this is useful when you are trying to secure internal | ||
| services, and need to solve challenges using a different ingress class to that | ||
| of the ingress. If not specified and the `acme-http01-edit-in-place` annotation | ||
| is not set, this defaults to the `http01.ingress.ingressClassName` defined in the | ||
| Issuer resource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment: I'd prefer if this wasn't written "this annotation..." but I totally recognise that's how it already is, and we definitely shouldn't rework this page in this PR. This is really good, thank you 👍
Preview:
https://deploy-preview-1848--cert-manager.netlify.app/docs/reference/annotations/#acmecert-manageriohttp01-ingress-ingressclassname
https://deploy-preview-1848--cert-manager.netlify.app/docs/reference/annotations/#acmecert-manageriohttp01-ingress-class
https://deploy-preview-1848--cert-manager.netlify.app/docs/usage/ingress/#supported-annotations
https://deploy-preview-1848--cert-manager.netlify.app/docs/configuration/acme/http01/#options
Background:
cert-manager/cert-manager#8244
cert-manager/cert-manager#6184