From 3eb9eea633e0a3c299c71adee65dd07ae67c168b Mon Sep 17 00:00:00 2001 From: Luca Ferrari Date: Wed, 21 Sep 2022 09:36:40 +0200 Subject: [PATCH] fixing how to obtain IMPORT --- .../en/docs/user-documentation/how-tos/acm-with-microshift.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/user-documentation/how-tos/acm-with-microshift.md b/content/en/docs/user-documentation/how-tos/acm-with-microshift.md index 610ee788..5bf6dd40 100644 --- a/content/en/docs/user-documentation/how-tos/acm-with-microshift.md +++ b/content/en/docs/user-documentation/how-tos/acm-with-microshift.md @@ -70,7 +70,7 @@ EOF This will generate a secret named ${CLUSTER_NAME}-import in the ${CLUSTER_NAME} namespace. Extract the `import.yaml` and the `crds.yaml` which requires `yq` to be installed. ``` -IMPORT=`oc get secret "$CLUSTER_NAME"-import -n "$CLUSTER_NAME" -o jsonpath={.data.import\\.yaml} | base64 --decode'` +IMPORT=$(oc get secret "$CLUSTER_NAME"-import -n "$CLUSTER_NAME" -o jsonpath={.data.import\\.yaml} | base64 --decode) IMPORT_KUBECONFIG=$(yq eval-all '. | select(.metadata.name == "bootstrap-hub-kubeconfig") | .data.kubeconfig' IMPORT) ```