From 1998ab735fac0d8ba9063bc3e3009a828e5bb83f Mon Sep 17 00:00:00 2001 From: Denis Gladkikh Date: Fri, 18 May 2018 10:31:52 -0700 Subject: [PATCH] Fix url to etcd binary (#8522) * Fix url to etcd binary etcd should be 3.12 for kubernetes 1.10, also fix the URL (probably was broken after migration to Hugo) * Make Curl command safer You really only need that variable to be set for the specific command, so no need to export it. Also, when using Bash variables in a string, you should enclose them in curly braces to delineate them from the rest of the string. This helps prevent problems where Bash can't tell where the name of the variable ends and the next part of the string begins. --- content/en/docs/setup/independent/high-availability.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/en/docs/setup/independent/high-availability.md b/content/en/docs/setup/independent/high-availability.md index efd7ba910d..1c1a7e7abf 100644 --- a/content/en/docs/setup/independent/high-availability.md +++ b/content/en/docs/setup/independent/high-availability.md @@ -222,8 +222,7 @@ Please select one of the tabs to see installation instructions for the respectiv 1. First you will install etcd binaries like so: ```shell - export ETCD_VERSION=v3.1.10 - curl -sSL https://github.com/coreos/etcd/releases/download//etcd--linux-amd64.tar.gz | tar -xzv --strip-components=1 -C /usr/local/bin/ + ETCD_VERSION="v3.1.12" curl -sSL https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz | tar -xzv --strip-components=1 -C /usr/local/bin/ rm -rf etcd--linux-amd64* ```