зеркало из https://github.com/Azure/aks-engine.git
fix CR comments
This commit is contained in:
Родитель
c679501a16
Коммит
85043f81e0
|
@ -154,7 +154,7 @@ func saveFileString(dir string, file string, data string) error {
|
|||
|
||||
func saveFile(dir string, file string, data []byte) error {
|
||||
if _, err := os.Stat(dir); os.IsNotExist(err) {
|
||||
if e := os.Mkdir(dir, 0700); e != nil {
|
||||
if e := os.MkdirAll(dir, 0700); e != nil {
|
||||
return fmt.Errorf("error creating directory '%s': %s", dir, e.Error())
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#cloud-config
|
||||
|
||||
# { { { param } } }
|
||||
# { { { variable } } }
|
||||
|
||||
runcmd:
|
||||
- /usr/bin/curl -sSL --retry 12 --retry-delay 10 https://get.docker.com/ > /tmp/install-docker
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#cloud-config
|
||||
|
||||
# { { { param } } }
|
||||
# { { { variable } } }
|
||||
|
||||
packages:
|
||||
- etcd
|
||||
|
@ -11,7 +11,7 @@ runcmd:
|
|||
- /bin/bash -c "/bin/echo DAEMON_ARGS=--advertise-client-urls ""http://127.0.0.1:2379,http://{{{masterPrivateIp}}}:2379"" --listen-client-urls ""http://0.0.0.0:2379,http://0.0.0.0:4001"" | tee -a /etc/default/etcd"
|
||||
- /usr/bin/curl -sSL --retry 12 --retry-delay 10 https://get.docker.com/ > /tmp/install-docker
|
||||
- /bin/bash -c "/bin/bash /tmp/install-docker"
|
||||
- /usr/bin/curl -sSL --retry 12 --retry-delay 10 https://storage.googleapis.com/kubernetes-release/release/v1.3.8/bin/linux/amd64/kubectl > /usr/local/bin/kubectl
|
||||
- /usr/bin/curl -sSL --retry 12 --retry-delay 10 https://storage.googleapis.com/kubernetes-release/release/v1.4.1/bin/linux/amd64/kubectl > /usr/local/bin/kubectl
|
||||
- chmod +x /usr/local/bin/kubectl
|
||||
|
||||
write_files:
|
||||
|
|
Загрузка…
Ссылка в новой задаче