Skip to content
Snippets Groups Projects
Commit 3cc38490 authored by Frank Berghaus's avatar Frank Berghaus
Browse files

Create directory before untar'ing into it

parent 5a24d155
Branches
No related tags found
No related merge requests found
......@@ -299,7 +299,7 @@ resources:
sed "s/server: https:.*/server: https:\/\/$CONTROLPLANE_IP:6443/" /etc/kubernetes/admin.conf > /root/externaladmin.conf
echo "export KUBECONFIG=/etc/kubernetes/admin.conf" >> /root/.bashrc
export KUBECONFIG=/etc/kubernetes/admin.conf
curl https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico-vxlan.yaml \
curl -s https://raw.githubusercontent.com/projectcalico/calico/v3.25.0/manifests/calico-vxlan.yaml \
| sed 's/CrossSubnet/Always/' \
| kubectl apply -f -
......@@ -329,7 +329,8 @@ resources:
availability: nova
EOF
curl --location 'https://github.com/kubernetes/cloud-provider-openstack/archive/refs/tags/v1.25.3.tar.gz' \
mkdir -p /tmp/cloud-provider-openstack
curl -sL 'https://github.com/kubernetes/cloud-provider-openstack/archive/refs/tags/v1.25.3.tar.gz' \
| tar zxv --strip-components=1 -C /tmp/cloud-provider-openstack
rm /tmp/cloud-provider-openstack/manifests/cinder-csi-plugin/csi-secret-cinderplugin.yaml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment