alta3 / kubernetes-the-alta3-way

The greatest k8s installer on the planet!
223 stars 34 forks source link

Labs Setup returning #33

Closed seaneon closed 1 year ago

seaneon commented 2 years ago

Error message on setup is not precise.

https://github.com/alta3/kubernetes-the-alta3-way/blob/ae1a8c1d440e15b2dc552323c187be90e5a63431/labs/setup/setup#L19-L21

This checks to see if the directory exists, but does not check for the setup.sh file (or test, teardown) exists, as the error message suggests. This could be corrected by changing the error message from setup not found to setup dir not found.

The next logic step could verify if setup exists within the lab directory.

@sfeeser for awareness