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: deploy-disconnected-registry/verify_ocp_sync.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ set -m
13
13
source${WORKDIR}/shared-utils/common.sh
14
14
source ./common.sh hub
15
15
16
-
podman login ${DESTINATION_REGISTRY} -u ${REG_US} -p ${REG_PASS} --authfile=${PULL_SECRET}# to create a merge with the registry original adding the registry auth entry
17
-
if [[ $(oc adm release info "${DESTINATION_REGISTRY}"/"${OCP_DESTINATION_REGISTRY_IMAGE_NS}":"${OCP_RELEASE_FULL}"-x86_64 --registry-config="${PULL_SECRET}"|wc -l)-gt 1 ]];then## line 1 == error line. If found image should show more information (>1 line)
16
+
podman login ${DESTINATION_REGISTRY} -u ${REG_US} -p ${REG_PASS} --authfile=${PULL_SECRET}# to create a merge with the registry original adding the registry auth entry
17
+
if [[ $(oc adm release info "${DESTINATION_REGISTRY}"/"${OCP_DESTINATION_REGISTRY_IMAGE_NS}":"${OCP_RELEASE_FULL}"-x86_64 --registry-config="${PULL_SECRET}"|wc -l)-gt 1 ]];then## line 1 == error line. If found image should show more information (>1 line)
Copy file name to clipboardExpand all lines: deploy-hub-configs/deploy.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,8 +21,8 @@ if ./verify.sh; then
21
21
sed -i "s/HTTPD_SERVICE/$HTTPSERVICE/g" 04-agent-service-config.yml
22
22
pull=$(oc get secret -n openshift-config pull-secret -ojsonpath='{.data.\.dockerconfigjson}'| base64 -d)
23
23
sed -i "s/PULL_SECRET/$pull/g" 05-pullsecrethub.yml
24
-
REGISTRY=kubeframe-registry
25
-
LOCAL_REG="$(oc get route -n ${REGISTRY}${REGISTRY} -o jsonpath={'.status.ingress[0].host'})"#TODO change it to use the global common variable importing here the source commons
24
+
REGISTRY=kubeframe-registry
25
+
LOCAL_REG="$(oc get route -n ${REGISTRY}${REGISTRY} -o jsonpath={'.status.ingress[0].host'})"#TODO change it to use the global common variable importing here the source commons
26
26
sed -i "s/CHANGEDOMAIN/$LOCAL_REG/g" registryconf.txt
27
27
CABUNDLE=$(oc get cm -n openshift-image-registry kube-root-ca.crt --template='{{index .data "ca.crt"}}')
28
28
echo -e " ca-bundle.crt: |\n$(echo -n "$CABUNDLE"| sed "s/^/ /")">>01_Mirror_ConfigMap.yml
0 commit comments