diff --git a/Makefile b/Makefile index 6b33fca..a437a5d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION := "v0.3.0" -LDFLAGS := "-X 'kube-review/cmd.version=$(VERSION)'" +LDFLAGS := "-X 'github.com/anderseknert/kube-review/cmd.version=$(VERSION)'" clean: rm -rf _release diff --git a/cmd/main.go b/cmd/main.go index e8151fc..c7f9882 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -3,11 +3,12 @@ package cmd import ( "fmt" "io" - "kube-review/pkg/admission" "log" "os" "github.com/spf13/cobra" + + "github.com/anderseknert/kube-review/pkg/admission" ) type parameters struct { @@ -23,9 +24,9 @@ var ( rootCmd = &cobra.Command{ Use: "kube-review", Short: "create admission review requests from provided kubernetes resources", - Long: `kube-review is a tool to help create AdmissionReview objects from ordinary Kubernetes resource files. + Long: `kube-review is a tool to help create AdmissionReview objects from ordinary Kubernetes resource files. -This is useful when e.g. writing admission controller policies or offline tests of Kubernetes admission controller +This is useful when e.g. writing admission controller policies or offline tests of Kubernetes admission controller webhooks`, } createCmd = &cobra.Command{ diff --git a/main.go b/main.go index f372b80..8c95888 100644 --- a/main.go +++ b/main.go @@ -3,7 +3,7 @@ package main import ( "log" - "kube-review/cmd" + "github.com/anderseknert/kube-review/cmd" ) func main() {