Skip to content

Commit

Permalink
make: Correct module name following #34
Browse files Browse the repository at this point in the history
#34 should have included
these additional updates.

Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>
  • Loading branch information
charlieegan3 committed Nov 8, 2024
1 parent 03f9553 commit 77220f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 4 additions & 3 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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{
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"log"

"kube-review/cmd"
"github.com/anderseknert/kube-review/cmd"
)

func main() {
Expand Down

0 comments on commit 77220f0

Please sign in to comment.