UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit d768a85a authored by Ryan Garcia's avatar Ryan Garcia :dizzy:
Browse files

Merge branch 'jb/mkdir-kube' into 'master'

create .kube dir on first run of k3d-dev.sh

See merge request !3205
parents a88e8194 d3c47d65
No related branches found
No related tags found
1 merge request!3205create .kube dir on first run of k3d-dev.sh
Pipeline #2268502 failed
......@@ -648,6 +648,7 @@ run "kubectl config use-context k3d-k3s-default"
run "kubectl cluster-info && kubectl get nodes"
echo "copying kubeconfig to workstation..."
mkdir -p ~/.kube
scp -i ~/.ssh/${KeyName}.pem -o StrictHostKeyChecking=no -o IdentitiesOnly=yes ubuntu@${PublicIP}:/home/ubuntu/.kube/config ~/.kube/${AWSUSERNAME}-dev-config
if [[ "$PRIVATE_IP" == true ]]; then
$sed_gsed -i "s/0\.0\.0\.0/${PrivateIP}/g" ~/.kube/${AWSUSERNAME}-dev-config
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment