From 44ba1570d2ba0e35086c105c52e4735b639cac57 Mon Sep 17 00:00:00 2001 From: Alexei Dodon Date: Mon, 16 Oct 2023 09:27:03 +0300 Subject: [PATCH] Update kind-deploy.md --- docs/articles/kind-deploy.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/articles/kind-deploy.md b/docs/articles/kind-deploy.md index a9d56e8..7c986fb 100644 --- a/docs/articles/kind-deploy.md +++ b/docs/articles/kind-deploy.md @@ -78,13 +78,10 @@ EOF Connect the registry to the "kind" network so that it can communicate with other resources in the same network. ```shell -{% raw %} # check whether already connected to the network -if [ "$(docker inspect -f='{{json .NetworkSettings.Networks.kind}}' \ -"${reg_name}")" = 'null' ]; then +if [ "$(docker inspect -f='{{json .NetworkSettings.Networks.kind}}' "${reg_name}")" = 'null' ]; then docker network connect "kind" "${reg_name}" fi -{% endraw %} ``` ### Step 5: Document the local registry @@ -215,4 +212,4 @@ docker rm kind-registry {% endraw %} ``` - \ No newline at end of file +