Skip to content

Commit d574c98

Browse files
committed
Adding curl method for kubectl
1 parent c65e030 commit d574c98

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

installers/kubectl/installer.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,10 @@ gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cl
2525
EOF
2626
yum install -y kubectl
2727
"""
28+
29+
[curl]
30+
sh ="""
31+
@info "Downloading Helm"
32+
@sudo curl -sSL https://storage.googleapis.com/kubernetes-release/release/v1.13.3/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl
33+
@sudo chmod +x /usr/local/bin/kubectl
34+
"""

0 commit comments

Comments
 (0)