-
Notifications
You must be signed in to change notification settings - Fork 396
Make draft init foolproof #152
Comments
One idea I had was to make
and so on. |
Bingo. This is exactly how I want to solve it. However, I want to make the prompt a little smarter by also reading from the local kube config. For example, if the current context is found to be a minikube cluster (easily identifiable as the config's name would be "minikube"), then we can make the following assumptions:
So then the user workflow for installing draft looks like this:
And for Azure (envvars present), we can perform lookups using
If the user answers "no" to the original question, then we go through the prompt you mention. A lot of chicken-scratch discussion is talked about in #49 but this ticket seems to be a much clearer discussion on how we want to tackle this problem, so I'll make this the official "draft init overhaul discussion" ticket. |
Requiring users to copy/paste/change this line:
has caused some false starts and pain for first timers.
What could be done to make
draft init
be able to successfully install draft on a kubernetes cluster without any intense documentation parsing?The text was updated successfully, but these errors were encountered: