File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,20 @@ spec:
35
35
solvers:
36
36
- http01:
37
37
ingress:
38
- class : openshift-default <4>
38
+ ingressClassName : openshift-default <4>
39
39
----
40
40
<1> Provide a name for the cluster issuer.
41
41
<2> Replace `<secret_private_key>` with the name of secret to store the ACME account private key in.
42
42
<3> Specify the URL to access the ACME server's `directory` endpoint. This example uses the _Let's Encrypt_ staging environment.
43
43
<4> Specify the Ingress class.
44
44
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
+
45
52
.. Create the `ClusterIssuer` object by running the following command:
46
53
+
47
54
[source,terminal]
You can’t perform that action at this time.
0 commit comments