mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
Fix Makefile after 'go get' deprecation (fixes #160)
This commit is contained in:
parent
46176b4671
commit
800d2e2b71
18
Makefile
18
Makefile
@ -49,20 +49,20 @@ tar: manifests ## Generates a .tar.gz from manifests dir
|
||||
|
||||
$(JB_BINARY): ## Installs jsonnet-bundler utility
|
||||
@echo "Installing jsonnet-bundler"
|
||||
@go get -u github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
|
||||
@go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
|
||||
|
||||
$(JSONNET_BIN): ## Installs jsonnet and jsonnetfmt utility
|
||||
@echo "Installing jsonnet"
|
||||
@go get -u github.com/google/go-jsonnet/cmd/jsonnet
|
||||
@go get -u github.com/google/go-jsonnet/cmd/jsonnetfmt
|
||||
@go get -u github.com/brancz/gojsontoyaml
|
||||
@go install github.com/google/go-jsonnet/cmd/jsonnet@latest
|
||||
@go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest
|
||||
@go install github.com/brancz/gojsontoyaml@latest
|
||||
|
||||
update_tools: ## Updates jsonnet, jsonnetfmt and jb utilities
|
||||
@echo "Updating jsonnet"
|
||||
@go get -u github.com/google/go-jsonnet/cmd/jsonnet
|
||||
@go get -u github.com/google/go-jsonnet/cmd/jsonnetfmt
|
||||
@go get -u github.com/brancz/gojsontoyaml
|
||||
@go get -u github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb
|
||||
@go install github.com/google/go-jsonnet/cmd/jsonnet@latest
|
||||
@go install github.com/google/go-jsonnet/cmd/jsonnetfmt@latest
|
||||
@go install github.com/brancz/gojsontoyaml@latest
|
||||
@go install github.com/jsonnet-bundler/jsonnet-bundler/cmd/jb@latest
|
||||
|
||||
change_suffix: ## Changes suffix for the ingress. Pass suffix=[suffixURL] as argument
|
||||
@echo "Ingress IPs changed to [service].${suffix}"
|
||||
@ -71,4 +71,4 @@ change_suffix: ## Changes suffix for the ingress. Pass suffix=[suffixURL]
|
||||
cat manifests/ingress-$$f.yaml | sed -e "s/\(.*$$f\.\).*/\1${suffix}/" > manifests/ingress-$$f.yaml-tmp; \
|
||||
mv -f manifests/ingress-$$f.yaml-tmp manifests/ingress-$$f.yaml; \
|
||||
echo ${K3S} kubectl apply -f manifests/ingress-$$f.yaml; \
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user