Skip to content

Commit bb20cc0

Browse files
committed
Removed the acme.cert-manager.io/http01-ingress-class annotation
1 parent bc93d0e commit bb20cc0

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

modules/cert-manager-acme-http01.adoc

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -89,34 +89,32 @@ metadata:
8989
namespace: my-ingress-namespace <2>
9090
annotations:
9191
cert-manager.io/cluster-issuer: letsencrypt-staging <3>
92-
acme.cert-manager.io/http01-ingress-class: openshift-default <4>
9392
spec:
94-
ingressClassName: openshift-default <5>
93+
ingressClassName: openshift-default <4>
9594
tls:
9695
- hosts:
97-
- <hostname> <6>
98-
secretName: sample-tls <7>
96+
- <hostname> <5>
97+
secretName: sample-tls <6>
9998
rules:
100-
- host: <hostname> <8>
99+
- host: <hostname> <7>
101100
http:
102101
paths:
103102
- path: /
104103
pathType: Prefix
105104
backend:
106105
service:
107-
name: sample-workload <9>
106+
name: sample-workload <8>
108107
port:
109108
number: 80
110109
----
111110
<1> Specify the name of the Ingress.
112111
<2> Specify the namespace that you created for the Ingress.
113112
<3> Specify the cluster issuer that you created.
114113
<4> Specify the Ingress class.
115-
<5> Specify the Ingress class.
116-
<6> Replace `<hostname>` with the Subject Alternative Name to be associated with the certificate. This name is used to add DNS names to the certificate.
117-
<7> Specify the secret to store the created certificate in.
118-
<8> Replace `<hostname>` with the hostname. You can use the `<host_name>.<cluster_ingress_domain>` syntax to take advantage of the `*.<cluster_ingress_domain>` wildcard DNS record and serving certificate for the cluster. For example, you might use `apps.<cluster_base_domain>`. Otherwise, you must ensure that a DNS record exists for the chosen hostname.
119-
<9> Specify the name of the service to expose. This example uses a service named `sample-workload`.
114+
<5> Replace `<hostname>` with the Subject Alternative Name (SAN) to be associated with the certificate. This name is used to add DNS names to the certificate.
115+
<6> Specify the secret that stores the certificate.
116+
<7> Replace `<hostname>` with the hostname. You can use the `<host_name>.<cluster_ingress_domain>` syntax to take advantage of the `*.<cluster_ingress_domain>` wildcard DNS record and serving certificate for the cluster. For example, you might use `apps.<cluster_base_domain>`. Otherwise, you must ensure that a DNS record exists for the chosen hostname.
117+
<8> Specify the name of the service to expose. This example uses a service named `sample-workload`.
120118

121119
.. Create the `Ingress` object by running the following command:
122120
+

0 commit comments

Comments
 (0)