Skip to content

Commit d2d1ed0

Browse files
author
Steven Smith
committed
Updates a few IR commands
1 parent 43b08d9 commit d2d1ed0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/registry-configuring-registry-storage-rhodf-cephrgw.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ $ route_host=$(oc get route ocs-storagecluster-cephobjectstore -n openshift-stor
8282
+
8383
[source,terminal]
8484
----
85-
$ oc extract secret/router-certs-default -n openshift-ingress --confirm
85+
$ oc extract secret/$(oc get ingresscontroller -n openshift-ingress-operator default -o json | jq '.spec.defaultCertificate.name // "router-certs-default"' -r) -n openshift-ingress --confirm
8686
----
8787
+
8888
[source,terminal]

modules/registry-exposing-default-registry-manually.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ $ HOST=$(oc get route default-route -n openshift-image-registry --template='{{ .
3535
+
3636
[source,terminal]
3737
----
38-
$ oc get secret -n openshift-ingress router-certs-default -o go-template='{{index .data "tls.crt"}}' | base64 -d | sudo tee /etc/pki/ca-trust/source/anchors/${HOST}.crt > /dev/null
38+
$ oc extract secret/$(oc get ingresscontroller -n openshift-ingress-operator default -o json | jq '.spec.defaultCertificate.name // "router-certs-default"' -r) -n openshift-ingress --confirm
3939
----
4040

4141
. Enable the cluster's default certificate to trust the route using the following commands:

0 commit comments

Comments
 (0)