fixed IPs on cert authority

This commit is contained in:
Xander Grzywinski
2019-08-26 11:28:48 -07:00
parent 6cff889429
commit a554a3bfba

View File

@@ -125,8 +125,8 @@ cat > ${instance}-csr.json <<EOF
}
EOF
EXTERNAL_IP=$(az vm show --show-details -g kubernetes-the-hard-way -n ${instance} --output tsv | cut -f19)
INTERNAL_IP=$(az vm show --show-details -g kubernetes-the-hard-way -n ${instance} --output tsv | cut -f16)
EXTERNAL_IP=$(az vm show --show-details -g kubernetes-the-hard-way -n ${instance} --query publicIps --output tsv)
INTERNAL_IP=$(az vm show --show-details -g kubernetes-the-hard-way -n ${instance} --query privateIps --output tsv)
cfssl gencert \
-ca=ca.pem \