Skip to content

Commit ad1d72b

Browse files
authored
Merge pull request #75220 from subhtk/osdocs10276
OSDOCS 10276:Modified acme-cluster-issuer yaml file to add ingress class name
2 parents 8911921 + e73879d commit ad1d72b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

modules/cert-manager-acme-http01.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,20 @@ spec:
3535
solvers:
3636
- http01:
3737
ingress:
38-
class: openshift-default <4>
38+
ingressClassName: openshift-default <4>
3939
----
4040
<1> Provide a name for the cluster issuer.
4141
<2> Replace `<secret_private_key>` with the name of secret to store the ACME account private key in.
4242
<3> Specify the URL to access the ACME server's `directory` endpoint. This example uses the _Let's Encrypt_ staging environment.
4343
<4> Specify the Ingress class.
4444

45+
.. Optional: If you create the object without specifying `ingressClassName`, use the following command to patch the existing ingress:
46+
+
47+
[source,terminal]
48+
----
49+
$ oc patch ingress/<ingress-name> --type=merge --patch '{"spec":{"ingressClassName":"openshift-default"}}' -n <namespace>
50+
----
51+
4552
.. Create the `ClusterIssuer` object by running the following command:
4653
+
4754
[source,terminal]

0 commit comments

Comments
 (0)