fix argocd install not working using the kubespray docker image (#10371)
parent
a8c1bccdd5
commit
a9ee1c4167
|
@ -36,6 +36,7 @@ RUN apt update -q \
|
||||||
jmespath==1.0.1 \
|
jmespath==1.0.1 \
|
||||||
MarkupSafe==2.1.3 \
|
MarkupSafe==2.1.3 \
|
||||||
ruamel.yaml==0.17.21 \
|
ruamel.yaml==0.17.21 \
|
||||||
|
passlib==1.7.4 \
|
||||||
&& KUBE_VERSION=$(sed -n 's/^kube_version: //p' roles/kubespray-defaults/defaults/main.yaml) \
|
&& KUBE_VERSION=$(sed -n 's/^kube_version: //p' roles/kubespray-defaults/defaults/main.yaml) \
|
||||||
&& curl -L https://dl.k8s.io/release/$KUBE_VERSION/bin/linux/$(dpkg --print-architecture)/kubectl -o /usr/local/bin/kubectl \
|
&& curl -L https://dl.k8s.io/release/$KUBE_VERSION/bin/linux/$(dpkg --print-architecture)/kubectl -o /usr/local/bin/kubectl \
|
||||||
&& echo $(curl -L https://dl.k8s.io/release/$KUBE_VERSION/bin/linux/$(dpkg --print-architecture)/kubectl.sha256) /usr/local/bin/kubectl | sha256sum --check \
|
&& echo $(curl -L https://dl.k8s.io/release/$KUBE_VERSION/bin/linux/$(dpkg --print-architecture)/kubectl.sha256) /usr/local/bin/kubectl | sha256sum --check \
|
||||||
|
|
Loading…
Reference in New Issue