Skip to content

Commit

Permalink
Updates a few IR commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Smith committed Dec 2, 2024
1 parent 43b08d9 commit d2d1ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ $ route_host=$(oc get route ocs-storagecluster-cephobjectstore -n openshift-stor
+
[source,terminal]
----
$ oc extract secret/router-certs-default -n openshift-ingress --confirm
$ 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
----
+
[source,terminal]
Expand Down
2 changes: 1 addition & 1 deletion modules/registry-exposing-default-registry-manually.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ $ HOST=$(oc get route default-route -n openshift-image-registry --template='{{ .
+
[source,terminal]
----
$ 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
$ 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
----

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

0 comments on commit d2d1ed0

Please sign in to comment.