mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Keep “kubernetes” in docker context create kubernetes mycontext
UX. We cannot use “kubernetes” as an endpoint name, because the context Marshall/unmarshall has a specific logic for the “kubernetes” endpoint, so storing “kube”
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
This commit is contained in:
parent
849707016b
commit
61a3f6faa5
@ -57,7 +57,7 @@ const (
|
||||
LocalContextType = "local"
|
||||
// KubeContextType is the endpoint key in the context endpoints for a new
|
||||
// kube backend
|
||||
KubeContextType = "k8s"
|
||||
KubeContextType = "kube"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -41,7 +41,7 @@ $ docker context create k8s CONTEXT [flags]
|
||||
func createKubeCommand() *cobra.Command {
|
||||
var opts kube.ContextParams
|
||||
cmd := &cobra.Command{
|
||||
Use: "k8s CONTEXT [flags]",
|
||||
Use: "kubernetes CONTEXT [flags]",
|
||||
Short: "Create context for a Kubernetes Cluster",
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user