Skip to content
Snippets Groups Projects
Unverified Commit c7fa839b authored by Angus Lees's avatar Angus Lees
Browse files

Report client-go version in `version` subcommand

parent e515524e
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@ import (
"github.com/spf13/cobra"
jsonnet "github.com/strickyak/jsonnet_cgo"
"k8s.io/client-go/pkg/version"
)
func init() {
......@@ -36,5 +37,6 @@ var versionCmd = &cobra.Command{
out := cmd.OutOrStdout()
fmt.Fprintln(out, "kubecfg version:", Version)
fmt.Fprintln(out, "jsonnet version:", jsonnet.Version())
fmt.Fprintln(out, "client-go version:", version.Get())
},
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment