From 3e1cc638d0524be577af04496bcfe31652d62da2 Mon Sep 17 00:00:00 2001 From: gmeghnag Date: Fri, 17 May 2024 16:00:43 +0200 Subject: [PATCH] OCPBUGS-33878: Extract customer certificate for *.apps routes if exists rather then the default one --- modules/registry-configuring-registry-storage-rhodf-nooba.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]