mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-21 14:32:03 +00:00
20 lines
395 B
Go
20 lines
395 B
Go
// Copyright 2019 The Kubernetes Authors.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"sigs.k8s.io/kustomize/cmd/kubectl/kubectlcobra"
|
|
"sigs.k8s.io/kustomize/kyaml/commandutil"
|
|
)
|
|
|
|
func main() {
|
|
// enable the config commands
|
|
os.Setenv(commandutil.EnableAlphaCommmandsEnvName, "true")
|
|
if err := kubectlcobra.GetCommand(nil).Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|