Skip to content

Commit

Permalink
Merge pull request #35 from charlieegan3/makefile-mod-name-update
Browse files Browse the repository at this point in the history
make: Correct module name following #34
  • Loading branch information
anderseknert authored Nov 8, 2024
2 parents 03f9553 + 77220f0 commit b209b1d
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 b209b1d

Please sign in to comment.