You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/cert-manager-configuring-routes.adoc
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -16,20 +16,6 @@ The following steps demonstrate the process of utilizing the {cert-manager-opera
16
16
17
17
.Procedure
18
18
19
-
. Create a `Route` resource for your `Service` resource using edge TLS termination and a custom hostname by running the following command. The hostname will be used while creating a `Certificate` resource in the following steps.
20
-
+
21
-
[source, terminal]
22
-
----
23
-
$ oc create route edge <route_name> \ # <1>
24
-
--service=<service_name> \ # <2>
25
-
--hostname=<hostname> \ # <3>
26
-
--namespace=<namespace> # <4>
27
-
----
28
-
<1> Specify your route's name.
29
-
<2> Specify the service you want to expose.
30
-
<3> Specify the hostname of your route.
31
-
<4> Specify the namespace where your route is located.
32
-
33
19
. Create an `Issuer` to configure the HTTP-01 solver by running the following command. For other ACME issuer types, see "Configuring ACME an issuer".
<1> Specify the namespace where both your secret and route are located.
108
94
95
+
. Create a route for your service resource, that uses edge TLS termination and a custom hostname, by running the following command. The hostname is used when creating a `Certificate` resource in the next step.
96
+
+
97
+
[source, terminal]
98
+
----
99
+
$ oc create route edge <route_name> \ # <1>
100
+
--service=<service_name> \ # <2>
101
+
--hostname=<hostname> \ # <3>
102
+
--namespace=<namespace> # <4>
103
+
----
104
+
<1> Specify your route's name.
105
+
<2> Specify the service you want to expose.
106
+
<3> Specify the hostname of your route.
107
+
<4> Specify the namespace where your route is located.
108
+
109
109
. Update your route's `.spec.tls.externalCertificate` field to reference the previously created secret and use the certificate issued by cert-manager by using the following command:
0 commit comments