Skip to content
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

OSDOCS 10276:Modified acme-cluster-issuer yaml file to add ingress class name #75220

Merged
merged 1 commit into from May 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 8 additions & 1 deletion modules/cert-manager-acme-http01.adoc
Expand Up @@ -35,13 +35,20 @@ spec:
solvers:
- http01:
ingress:
class: openshift-default <4>
ingressClassName: openshift-default <4>
----
<1> Provide a name for the cluster issuer.
<2> Replace `<secret_private_key>` with the name of secret to store the ACME account private key in.
<3> Specify the URL to access the ACME server's `directory` endpoint. This example uses the _Let's Encrypt_ staging environment.
<4> Specify the Ingress class.

.. Optional: If you create the object without specifying `ingressClassName`, use the following command to patch the existing ingress:
+
[source,terminal]
----
$ oc patch ingress/<ingress-name> --type=merge --patch '{"spec":{"ingressClassName":"openshift-default"}}' -n <namespace>
----

.. Create the `ClusterIssuer` object by running the following command:
+
[source,terminal]
Expand Down