Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
9e71835
Adds documentation for CSR supporting all issuers, and the CTL command
JoshVanL Jun 18, 2021
67bbcba
Fix spelling
JoshVanL Jun 18, 2021
e30e686
Remove `experimental.cert-manager.io/ca` annotation from documentation
JoshVanL Jun 25, 2021
86f407b
allow custom bind addresses for development servers
SgtCoDFish Jun 21, 2021
38e3fda
upgrade-1.3-1.4 was displayed after upgrade-1.2-1.3
maelvls Jun 21, 2021
e0b9566
Tweak landing page, main docs page + footer
SgtCoDFish Jun 16, 2021
c342f89
Fix button + image layout on mobile
SgtCoDFish Jun 21, 2021
ada4f5a
Documentation for the new cert-manager release on OperatorHub
wallrj Jun 23, 2021
00dd551
Update the link and name of the aws-privateca-issuer
jakexks Jun 24, 2021
edec76e
Add aws-privateca-isser to .spelling
jakexks Jun 24, 2021
57cf5af
Moves awskms-issuer external issuer to approval-honoring issuer
SgtCoDFish Jun 24, 2021
283dd92
comprehensively update language for external issuers
SgtCoDFish Jun 24, 2021
65c3626
Adds the correct PR links, fixes a typo
irbekrm Jun 26, 2021
2ea2060
Corrects the renewal time FAQ
irbekrm Jun 28, 2021
22e18f8
Correct the failed renewals FAQ
irbekrm Jun 28, 2021
ec4c1c4
upgrade hugo + upgrade docsy
inteon Jun 24, 2021
f66415c
re-add title
inteon Jun 24, 2021
df3d5b2
use blackfriday for anchors
inteon Jun 28, 2021
c5c3e0a
supported-releases: add the supported versions of OpenShift
maelvls Jun 22, 2021
09dc394
the openshift table is the important bit, with regards to -> with reg…
maelvls Jun 30, 2021
bb8681e
openshift: add a link to the source of the update dates
maelvls Jun 30, 2021
b63d269
Tweak wording and weighting of index pages
SgtCoDFish Jun 21, 2021
6f56613
Add security context to Route53 dns01 documentation
Feb 27, 2021
9fa0dfd
Use "file system" instead of "filesystem"
Mar 15, 2021
fa5a759
allow custom bind addresses for development servers
SgtCoDFish Jun 21, 2021
7465cfb
upgrade-1.3-1.4 was displayed after upgrade-1.2-1.3
maelvls Jun 21, 2021
7c5131f
Tweak landing page, main docs page + footer
SgtCoDFish Jun 16, 2021
196334b
Fix button + image layout on mobile
SgtCoDFish Jun 21, 2021
8f8db08
Documentation for the new cert-manager release on OperatorHub
wallrj Jun 23, 2021
57c1cba
Update the link and name of the aws-privateca-issuer
jakexks Jun 24, 2021
22f85c6
Add aws-privateca-isser to .spelling
jakexks Jun 24, 2021
3df79c2
Moves awskms-issuer external issuer to approval-honoring issuer
SgtCoDFish Jun 24, 2021
43c8f06
comprehensively update language for external issuers
SgtCoDFish Jun 24, 2021
e118839
Adds the correct PR links, fixes a typo
irbekrm Jun 26, 2021
7702860
Corrects the renewal time FAQ
irbekrm Jun 28, 2021
b845eb1
Correct the failed renewals FAQ
irbekrm Jun 28, 2021
f89155a
upgrade hugo + upgrade docsy
inteon Jun 24, 2021
db34719
re-add title
inteon Jun 24, 2021
24c9f90
use blackfriday for anchors
inteon Jun 28, 2021
4abbb1c
supported-releases: add the supported versions of OpenShift
maelvls Jun 22, 2021
07a4d20
the openshift table is the important bit, with regards to -> with reg…
maelvls Jun 30, 2021
e06dab7
openshift: add a link to the source of the update dates
maelvls Jun 30, 2021
6dbe1fa
Tweak wording and weighting of index pages
SgtCoDFish Jun 21, 2021
99a9915
Add security context to Route53 dns01 documentation
Feb 27, 2021
82152ca
Use "file system" instead of "filesystem"
Mar 15, 2021
2fdc78c
Adds a release note for upgrading legacy CRDs
irbekrm Jul 9, 2021
36a36c0
concepts/certificate: add the "life of a certificate" diagram
maelvls Jun 3, 2021
4ee3832
Fix kuard example WSOD
iambryancs Jul 9, 2021
7b138a1
Fix other instances of #639
iambryancs Jul 9, 2021
29092df
Add BizflyCloud Cert-manager webhook
lmq1999 Jul 12, 2021
988ef58
Updates release notes
irbekrm Jul 6, 2021
110b26b
Merge branch 'master' into release-next
maelvls Jul 19, 2021
4419e25
Adds comment about some signers not allowing requesting a duration
JoshVanL Jul 19, 2021
c993f0e
Updates go version to 1.16.6
JoshVanL Jul 20, 2021
ab959b5
Merge remote-tracking branch 'origin/master' into release-next
maelvls Jul 23, 2021
82b0ece
add check api docs
inteon Jul 26, 2021
42b5064
Call out the mapping between signer and [ClusterIssuer]. Improve
JoshVanL Jul 27, 2021
13f2b25
Merge pull request #615 from JoshVanL/csr-all-issuers
jetstack-bot Jul 27, 2021
3b07f59
Merge pull request #656 from inteon/kubectl_check_api
jetstack-bot Jul 29, 2021
ea62002
Add a cert-manager 1.5 release notes and upgrade page with TODO place…
wallrj Aug 3, 2021
5eed698
Merge pull request #666 from wallrj/release-notes-1.5
jetstack-bot Aug 3, 2021
b094613
feat: update Certificate Resources page to include secretTemplate doc…
Jun 30, 2021
75803d5
docs: update secretTemplate documentation
jonathansp Aug 3, 2021
faf7e8f
docs: update content/en/docs/usage/certificate.md
jonathansp Aug 3, 2021
a4282eb
chore: add SecretTemplate to release note and update contributors list
Aug 4, 2021
66a75bd
chore: update .spelling file
Aug 4, 2021
4b5a826
Merge pull request #634 from jonathansp/master
jetstack-bot Aug 4, 2021
8871549
add check api docs
inteon Jul 26, 2021
6ffe6ce
Apply suggestions from code review
inteon Jul 29, 2021
46af435
update release-notes-v1.5
inteon Aug 4, 2021
2d4b655
Merge pull request #655 from inteon/install_add_kubectl
jetstack-bot Aug 4, 2021
580a212
Merge remote-tracking branch 'origin/master' into update-release-next
wallrj Aug 4, 2021
d07d234
Merge pull request #668 from wallrj/update-release-next
jetstack-bot Aug 4, 2021
a4f2b7f
cert-shim: document the certificate shim support for Gateways
maelvls Jul 9, 2021
0429d0b
gateway-api: add a "Use cases" section
maelvls Jul 27, 2021
b7ea0d5
gateway-api: add "issue-temporary-certificate" to annotations section
maelvls Jul 28, 2021
eef1a1a
gateway-api: vendor png
maelvls Jul 28, 2021
f42cb71
gateway-api: removed unused "acme.cert-manager.io/http01-gateway-class"
maelvls Jul 29, 2021
d18808a
gateway-api: weight 90 -> 105, fix PR review comments
maelvls Jul 30, 2021
961160c
review: rephrasing, use "FEATURE STATE [stable]" like in Kubernetes
maelvls Aug 5, 2021
ddd28a4
gateway-api: shim page should be /gateway, not /gateway-api
maelvls Aug 5, 2021
af76009
Merge pull request #640 from maelvls/document-gateway-shim
jetstack-bot Aug 5, 2021
8bdb852
.spelling: let's let Git automatically union-merge on conflict
maelvls Aug 4, 2021
caf4df6
gateway-solver: document the use of the HTTPRoute solver
maelvls Jun 22, 2021
a007acf
review: stable -> alpha, add --feature-gates=GatewayAPI=true
maelvls Aug 5, 2021
f373024
gateway-solver: detail what the HTTPRoute may look like
maelvls Aug 5, 2021
299c6aa
gateway-shim+solver: GatewayAPI -> ExperimentalGatewayAPISupport
maelvls Aug 5, 2021
387c5a4
fix broken certificaterequest yaml
SgtCoDFish Aug 9, 2021
9ccb94e
release notes 1.5: copy over from https://hackmd.io/f3yFZBP3ScO_BsaPn…
maelvls Aug 10, 2021
eaefa68
review: explain what happens when no Gateway is match by labels
maelvls Aug 11, 2021
a5a943d
various spelling fixes / changes in 1.5 release notes
SgtCoDFish Aug 11, 2021
2cd0ac9
code review suggestions
SgtCoDFish Aug 11, 2021
9edea59
match title casing in rest of doc
SgtCoDFish Aug 11, 2021
3855520
review: move the secretTemplate feature to its own section
maelvls Aug 11, 2021
6e0f9c9
Merge pull request #674 from maelvls/release-notes-1.5
jetstack-bot Aug 11, 2021
35df077
Merge pull request #625 from maelvls/gateway-api-documentation
jetstack-bot Aug 11, 2021
850de33
Update the 1.5 upgrade notes
wallrj Aug 11, 2021
667abc8
Update install instructions for 1.5
wallrj Aug 11, 2021
d8d277c
fix broken link in release-process doc
SgtCoDFish Aug 11, 2021
6e485b0
update supported releases page for 1.5
SgtCoDFish Aug 11, 2021
0ddbad1
Update cert-manager versions in build scripts
wallrj Aug 11, 2021
c1d6f2c
Empty commit
wallrj Aug 11, 2021
596646c
Merge pull request #679 from SgtCoDFish/supportedreleases1.5
jetstack-bot Aug 11, 2021
4b244fe
Merge pull request #680 from wallrj/update-build-1.5
jetstack-bot Aug 11, 2021
bc38241
Merge pull request #676 from wallrj/upgrade-doc-1.5
jetstack-bot Aug 11, 2021
6beba93
Merge pull request #677 from wallrj/install-1.5
jetstack-bot Aug 11, 2021
0614078
Merge pull request #675 from cert-manager/release-next
jetstack-bot Aug 11, 2021
d4cca8e
adding docs for cloud provider tests
RinkiyaKeDad Aug 12, 2021
0942ea0
Merge pull request #673 from SgtCoDFish/fixd
jetstack-bot Aug 12, 2021
57b487a
adding jetstack to ignore spellings file
RinkiyaKeDad Aug 12, 2021
9dffefd
changes from code review
RinkiyaKeDad Aug 12, 2021
8aef988
fix k8s versions we test against on master
SgtCoDFish Aug 12, 2021
290f20c
remove alex check
SgtCoDFish Aug 12, 2021
028377f
Merge pull request #683 from SgtCoDFish/supportedreleases1.5
jetstack-bot Aug 12, 2021
e27d08d
don't set GOPROXY when generating docs
SgtCoDFish Aug 12, 2021
d753bb5
Merge pull request #685 from SgtCoDFish/noalex
jetstack-bot Aug 12, 2021
ab11d93
Update plugin download command to always download latest version
irbekrm Aug 12, 2021
9f9c901
adding note for cloud provider tests
RinkiyaKeDad Aug 13, 2021
d5d14f6
Merge pull request #686 from irbekrm/update_plugin_version
jetstack-bot Aug 13, 2021
fe8f079
Merge pull request #684 from SgtCoDFish/noproxyoverride
jetstack-bot Aug 13, 2021
6e13286
removing details about presubmit job
RinkiyaKeDad Aug 13, 2021
740dba8
Update faq/kubed.md: Fix deprecated API in v1.22 (networking.k8s.io/v…
rtsp Aug 13, 2021
0357e80
Merge pull request #682 from RinkiyaKeDad/docs_for_cloud_provider_tests
jetstack-bot Aug 14, 2021
def1aba
Bump helm installed cm version v1.5.0 -> v1.5.3
irbekrm Aug 25, 2021
8609d13
Update cert-manager install command for kubectl to install v1.5.3
irbekrm Aug 25, 2021
1a2f98b
Update release process docs with a note to update installation instru…
irbekrm Aug 25, 2021
6f340e4
Merge pull request #690 from irbekrm/bump_version
jetstack-bot Aug 25, 2021
1f24ddf
Remove trailing `/` in docker registry
aidandj Sep 1, 2021
b4ae1eb
Merge pull request #694 from artificial-aidan/master
jetstack-bot Sep 2, 2021
2d1ba18
improve docs for fargate networking to avoid confusion
SgtCoDFish Sep 7, 2021
ea22619
Adds page on approver-policy
JoshVanL Sep 8, 2021
e8a62ef
Add snippet for plausible
james-w Sep 2, 2021
357561b
Merge pull request #695 from cert-manager/plausible
jetstack-bot Sep 9, 2021
44fd500
Update certificate.md
lousyd Aug 27, 2021
4f6dca9
Merge pull request #692 from lousyd/patch-1
maelvls Sep 9, 2021
4ba2643
remove compat details for GKE autopilot
SgtCoDFish Sep 14, 2021
d312795
Merge pull request #698 from SgtCoDFish/fargatehost
jetstack-bot Sep 14, 2021
3120141
Merge pull request #702 from SgtCoDFish/autopilot
jetstack-bot Sep 14, 2021
fe18bf6
Clarify switch from Issuer -> ClusterIssuer
lukemarsden Sep 15, 2021
d085c22
Fix docs reference (absolute -> relative)
lukemarsden Sep 15, 2021
d652974
Update content/en/docs/tutorials/acme/ingress.md
lukemarsden Sep 15, 2021
f926ddb
Fix supported releases example timeline
mkozal Sep 17, 2021
02b7752
Merge pull request #703 from lukemarsden/patch-1
jetstack-bot Sep 17, 2021
a0809c2
Fix the plusible snippet
james-w Sep 20, 2021
846b15d
Merge pull request #705 from cert-manager/plausible
jetstack-bot Sep 20, 2021
8580a3f
Merge pull request #707 from JoshVanL/approver-policy
jetstack-bot Sep 24, 2021
bce30c4
Update supported Bazel versions
irbekrm Sep 27, 2021
f77ac43
Merge pull request #708 from irbekrm/bazel_bump
jetstack-bot Oct 1, 2021
46c2803
Remove extra kind yaml key
shoudusse Oct 6, 2021
8347926
Update installation instructions with v1.5.4
wallrj Oct 7, 2021
54025aa
Merge pull request #712 from wallrj/cert-manager-1.5.4
jetstack-bot Oct 7, 2021
19938ab
Merge pull request #711 from shoudusse/fix-acme-dns-doc-typo
jetstack-bot Oct 7, 2021
1262a03
Merge pull request #704 from mkozal/patch-1
jetstack-bot Oct 8, 2021
9c3ac71
add docs (and keys!) for code signing
SgtCoDFish Sep 8, 2021
82d7a4d
Merge pull request #699 from SgtCoDFish/addpubkey
jetstack-bot Oct 11, 2021
769ff0e
Merge pull request #687 from rtsp/patch-1
jetstack-bot Oct 12, 2021
b1357c4
Clarify current status of compatibility with Autopilot GKE
bradjones1 Oct 12, 2021
6881ab7
Merge pull request #713 from bradjones1/patch-1
jetstack-bot Oct 14, 2021
0f83082
Update helm.md
Oct 16, 2021
800fe4d
Remove stray space, breaking URL linking
Oct 18, 2021
8b6bd53
Merge pull request #717 from TBBle/patch-1
jetstack-bot Oct 18, 2021
38aa876
Change links in usage certificate to kubectl plugin #renew to be
JoshVanL Oct 19, 2021
44623e5
Merge pull request #719 from JoshVanL/release-1.5-usage-kubectl-plugi…
jetstack-bot Oct 19, 2021
2065940
Merge pull request #716 from maikeldotuk/patch-1
jetstack-bot Oct 19, 2021
8798fe5
updates arising from the signing release process
SgtCoDFish Oct 14, 2021
328bc58
Merge pull request #714 from SgtCoDFish/relnoteupdate
jetstack-bot Oct 21, 2021
37cfa15
Replace some absolute path with relative paths to not cause issues with
JoshVanL Oct 26, 2021
51e977f
Merge pull request #726 from JoshVanL/dont-use-absolute-paths
jetstack-bot Oct 26, 2021
e084967
update release notes to account for quay.io
SgtCoDFish Oct 26, 2021
d5d127b
Merge pull request #725 from SgtCoDFish/relnosign
jetstack-bot Oct 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# We kept having rebase conflicts anytime someone would add a word to the
# .spelling list. Unless the same word is added on both sides simultaenously
# (which isn't a big deal), let's just let Git do the merge for us.
.spelling merge=union
24 changes: 24 additions & 0 deletions .spelling
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ Akamai
AKS
ALB
analyse
annerajb
apiGroup
APIs
apiserver
APIService
APIServices
AppRole
Arsh
ArtifactHUB
AWS
allowlist
Expand Down Expand Up @@ -48,6 +50,7 @@ CNI
CNIs
CNIs
codebase
coderanger
config
containerd
CoreDNS
Expand All @@ -57,9 +60,12 @@ CronJob
CSI
CSR
CSRs
Ctrl
customizable
DaemonSet
DataDog
DCO
Dean-Coakley
DHCP
DigitalOcean
Distroless
Expand All @@ -77,14 +83,19 @@ eTLD
external-dns
Fargate
FastDNS
francescsanjuanmrf
FreeIPA
freeipa-issuer
GCE
GCLB
gcloud
GCP
GKE
Gloo
goroutine
GSoC
google-cas-issuer
HAProxy
HashiCorp
Helmfile
honour
Expand All @@ -97,13 +108,15 @@ ingress-nginx
injectable
INWX
IPv6
irbekrm
IssuerRef
Istio
Jetstack
JSON
Jsonnet
keystore
keystores
kit837
Knative
Krew
KUARD
Expand All @@ -118,15 +131,18 @@ kubelet
kubeprod
Kubernetes
labelled
ldflag
lifecycle
loadbalancer
longkai
LuCI
MacOS
metadata
misconfiguration
misconfigured
mixin
mixins
mozz-lx
mTLS
nameserver
nameservers
Expand Down Expand Up @@ -173,6 +189,7 @@ subdomains
SubjectAccessReview
subresource
templating
thiscantbeserious
Tiller
TLDs
TODO
Expand All @@ -182,6 +199,7 @@ Traefik
TSIG
TSIGs
TXT
ulrichgi
Uncomment
unencrypted
uninstallation
Expand All @@ -202,6 +220,7 @@ whitespace
wildcard
wildcards
WIP
wpjunior
YAML
YAMLs
kms-issuer
Expand Down Expand Up @@ -276,8 +295,13 @@ JoshVanL
Kyverno
hardcodes
templated
jonathansp
benlangfeld
manual-rotation-private-key
issuances
HTTPRoute
gatewayhttproute-labels
gatewayhttproute-service-type

# As per https://tools.ietf.org/html/rfc5280, the spelling "X.509" is the
# correct spelling. The spelling "x509" and "X509" are incorrect.
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,11 @@ This will automatically run a number of checks against your changes.
If `./scripts/verify` fails with a number of `..target not found..` errors, you
can run `./scripts/verify-release` instead, which will fetch all versions of the
documentation content before running the regular `verify` script.

### Signing Keys

Public keys used for verifying signatures are served on the website statically, and
are located in `static/public-keys`.

See the [docs on signing keys](./content/en/docs/contributing/signing-keys.md) for
more information about how and why these keys are generated and provided here.
10 changes: 8 additions & 2 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Set to "docs" path

[[versions]]
version = "v1.4"
version = "v1.5"
# 'master' is used to store the 'current' version documentation.
# Once the 'next' release becomes 'current', we branch master to
# release-X.Y and merge 'release-next' into 'master'.
Expand All @@ -33,7 +33,7 @@
# 'Next' version
################
[[versions]]
version = "v1.5"
version = "v1.6"
ghbranchname = "release-next"
url = "/next-docs/"
dirpath = "next-docs"
Expand All @@ -42,6 +42,12 @@
###################
# Use format `v0.#-docs` for past version's dirpath

[[versions]]
version = "v1.4"
ghbranchname = "release-1.4"
url = "/v1.4-docs/"
dirpath = "v1.4-docs"

[[versions]]
version = "v1.3"
ghbranchname = "release-1.3"
Expand Down
3 changes: 2 additions & 1 deletion content/en/docs/concepts/certificaterequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ spec:
- signing
- digital signature
- server auth
duration: 90d
# 90 days
duration: 2160h
issuerRef:
name: ca-issuer
# We can reference ClusterIssuers by changing the kind here.
Expand Down
1 change: 0 additions & 1 deletion content/en/docs/configuration/acme/dns01/acme-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ stringData:
},
}
---
kind: Issuer
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
Expand Down
181 changes: 179 additions & 2 deletions content/en/docs/configuration/acme/http01/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,20 @@ weight: 10
type: "docs"
---

## Configuring HTTP01 Ingress Provider
{{% pageinfo color="info" %}}

📌 This page focuses on solving ACME HTTP-01 challenges. If you are looking for
how to automatically create Certificate resources by annotating Ingress or
Gateway resources, see [Securing Ingress Resources](/docs/usage/ingress/) and
[Securing Gateway Resources](../../../usage/gateway/).

{{% /pageinfo %}}

cert-manager uses your existing Ingress or Gateway configuration in order to
solve HTTP01 challenges.


## Configuring the HTTP01 Ingress solver

This page contains details on the different options available on the `Issuer`
resource's HTTP01 challenge solver configuration. For more information on
Expand Down Expand Up @@ -66,7 +79,7 @@ This mode should be avoided when using ingress controllers that expose a single
IP for all ingress resources, as it can create compatibility problems with
certain ingress-controller specific annotations.

### `serviceType`
### `serviceType` {#ingress-service-type}

In rare cases it might be not possible/desired to use `NodePort` as type for the
HTTP01 challenge response service, e.g. because of Kubernetes limit
Expand Down Expand Up @@ -155,3 +168,167 @@ The added labels and annotations will merge on top of the cert-manager defaults,
overriding entries with the same key.

No other fields of the ingress can be edited.

## Configuring the HTTP-01 Gateway API solver

**FEATURE STATE**: cert-manager 1.5 [alpha]

The Gateway and HTTPRoute resources are part of the [Gateway API][gwapi], a set
of CRDs that you install on your Kubernetes cluster that provide various
improvements over the Ingress API.

[gwapi]: https://gateway-api.sigs.k8s.io

{{% pageinfo color="info" %}}

📌 This feature requires the installation of the Gateway API CRDs and passing a
feature flag to the cert-manager controller.

To install the Gateway API CRDs, run the following command:

```sh
kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v0.3.0" | kubectl apply -f -
```

To enable the feature in cert-manager, turn on the `GatewayAPI` feature gate:

- If you are using Helm:

```sh
helm upgrade --install cert-manager jetstack/cert-manager --namespace cert-manager \
--set "extraArgs={--feature-gates=ExperimentalGatewayAPISupport=true}"
```

- If you are using the raw cert-manager manifests, add the following flag to the
cert-manager controller Deployment:

```yaml
args:
- --feature-gates=ExperimentalGatewayAPISupport=true
```

The Gateway API CRDs should either be installed before cert-manager starts or
the cert-manager Deployment should be restarted after installing the Gateway API
CRDs. This is important because some of the cert-manager components only perform
the Gateway API check on startup. You can restart cert-manager with the
following command:

```sh
kubectl rollout restart deployment cert-manager -n cert-manager
```

{{% /pageinfo %}}

The Gateway API HTTPRoute HTTP-01 solver creates a temporary HTTPRoute using the
given labels. These labels must match a Gateway that contains a listener on port
80.

Here is an example of a HTTP-01 ACME Issuer using the Gateway API:

```yaml
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: letsencrypt
namespace: default
spec:
acme:
solvers:
- http01:
gatewayHTTPRoute:
labels:
gateway: http01-solver
```

The Issuer relies on an existing Gateway present on the cluster. cert-manager
does not edit Gateway resources.

For example, the following Gateway will allow the Issuer to solve the challenge:

```yaml
apiVersion: networking.x-k8s.io/v1alpha1
kind: Gateway
metadata:
name: traefik
namespace: traefik
spec:
gatewayClassName: traefik
listeners:
- protocol: HTTP
port: 80
routes:
kind: HTTPRoute
selector:
matchLabels:
gateway: http01-solver
namespaces:
from: All
```

In the above example, the Gateway has been specifically created for the purpose
of solving HTTP-01 challenges, but you can also choose to re-use your existing
Gateway, as long as it has a listener on port 80.

The `labels` on your Issuer may reference a Gateway that is on a separate
namespace, as long as the Gateway's port 80 listener is configured with `from:
All`. Note that the Certificate will still be created on the same namespace as
the Issuer, which means that you won't be able to reference this Secret in the
above-mentioned Gateway.

When the above Issuer is presented with a Certificate, cert-manager creates the
temporary HTTPRoute. For example, with the following Certificate:

```yaml
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: example-tls
namespace: default
spec:
issuerRef:
name: letsencrypt
dnsNames:
- example.net
```

You will see an HTTPRoute appear. The `labels` given to this HTTPRoute are the
labels configured on the Issuer:

```yaml
kind: HTTPRoute
metadata:
name: cm-acme-http-solver-gdhvg
namespace: default
labels:
gateway: http01-solver # Copied from Issuer's `gatewayHTTPRoute.labels`.
spec:
gateways:
allow: All
hostnames:
- example.net
rules:
- forwardTo:
- port: 8089
serviceName: cm-acme-http-solver-gdhvg
weight: 1
matches:
- path:
type: Exact
value: /.well-known/acme-challenge/YadC4gaAzqEPU1Yea0D2MrzvNRWiBCtUizCtpiRQZqI
```

After the Certificate is issued, the HTTPRoute is deleted.

### `labels` {#gatewayhttproute-labels}

These labels are copied into the temporary HTTPRoute created by cert-manager for
solving the HTTP-01 challenge. These labels must match one of the Gateway
resources on your cluster. The matched Gateway have a listener on port 80.

Note that when the labels do not match any Gateway on your cluster, cert-manager
will create the temporary HTTPRoute challenge and nothing will happen.

### `serviceType` {#gatewayhttproute-service-type}

This field has the same meaning as the
[`http01.ingress.serviceType`](#ingress-service-type).
Loading