To avoid giving a false impression of our tooling being
another installer, rename it from kni-edge-installer to
knictl.
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I81be6fdbf08d91665529f30f623fba595a70d2a6
GOPATH=$(shell pwd)/vendor:$(shell pwd):"${HOME}/go"
GOBIN=$(shell pwd)/bin
GOFILES=$(wildcard *.go)
-GONAME="kni-edge-installer"
+GONAME="knictl"
BUILDDIR = $(shell pwd)/build
BINDIR = $(shell pwd)/bin
@./bin/$(GONAME) binary --bin_path ${BINDIR} --installer_repository ${INSTALLER_GIT_REPO} --installer_tag ${INSTALLER_GIT_TAG}
build:
- @echo "Building kni-edge-installer with $(GOPATH) to ./bin"
+ @echo "Building knictl with $(GOPATH) to ./bin"
@GOPATH=$(GOPATH) GOBIN=$(GOBIN) go build -o bin/$(GONAME) $(GOFILES)
clean:
## How to build
-First the `kni-edge-installer` binary needs to be produced. For that you just execute make with the following syntax:
+First the `knictl` binary needs to be produced. For that you just execute make with the following syntax:
make build
-This will produce the `kni-edge-installer` binary that can be used to deploy a site.
+This will produce the `knictl` binary that can be used to deploy a site.
## How to deploy
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
- Use: "kni-edge-installer",
+ Use: "knictl",
Short: "This app will execute deployment and updates of KNI edge clusters",
Long: `Given a set of declarative configurations, the following application
will perform deployment of Kubernetes clusters based on it.`,
func init() {
}
-
-