Closed
Description
It looks like tk env set
only takes flags, but in fact, it requires 1 argument, the name of the environment (e.g. environments/default
).
Invalid command:
tk env set --server-from-context k3d-k3s-default
Error: Error: accepts 1 arg, received 0
Usage:
tk env set [flags]
Flags:
--context-name strings valid context name for environment, can pass multiple, regex supported.
--diff-strategy string specify diff-strategy. Automatically detected otherwise.
-h, --help help for set
--inject-labels add tanka environment label to each created resource. Required for 'tk prune'.
--namespace string namespace to create objects in
--server string endpoint of the Kubernetes API
--server-from-context string set the server to a known one from $KUBECONFIG
Valid command:
tk env set --server-from-context k3d-k3s-default environments/default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels