blob: 8371ff38c5e0a626e4c21e97d2a0fd799866fb71 [file] [log] [blame]
#!/bin/bash
export KUBECONFIG=/root/child.kubeconfig
mkdir -p /root/.config/openstack
kubectl -n openstack-external get secrets openstack-identity-credentials -o jsonpath='{.data.clouds\.yaml}' | base64 -d > /root/clouds.yaml
ln -s /root/clouds.yaml /root/.config/openstack/clouds.yaml