diff --git a/modules/registry-configuring-registry-storage-rhodf-nooba.adoc b/modules/registry-configuring-registry-storage-rhodf-nooba.adoc index e4469bca41..1d58d18e2f 100644 --- a/modules/registry-configuring-registry-storage-rhodf-nooba.adoc +++ b/modules/registry-configuring-registry-storage-rhodf-nooba.adoc @@ -79,7 +79,7 @@ $ route_host=$(oc get route s3 -n openshift-storage -o=jsonpath='{.spec.host}') + [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]