Skip to content
Permalink
Browse files

Makefile: allow SETUP_FLAGS to be passed to shipperctl

  • Loading branch information...
juliogreff committed Sep 24, 2019
1 parent 9533af6 commit 4b17c3eae896c91c0cb9e3740ceae4e184257f9d
Showing with 5 additions and 1 deletion.
  1. +5 −1 Makefile
@@ -29,6 +29,9 @@ SHIPPER_CLUSTER ?= microk8s
# ones).
E2E_FLAGS ?=

# Defines optional flags to pass to `shipperctl` when running `make setup`.
SETUP_FLAGS ?=

# When set, deployments generated by `make build-yaml` will refer to the
# image's digest instead of a tag. Very useful in development, but not so much
# when building releases.
@@ -77,7 +80,8 @@ KUBECTL ?= kubectl -n $(SHIPPER_NAMESPACE)
setup: $(SHIPPER_CLUSTERS_YAML) build/shipperctl.$(GOOS)-amd64
./build/shipperctl.$(GOOS)-amd64 admin clusters apply \
-f $(SHIPPER_CLUSTERS_YAML) \
--shipper-system-namespace $(SHIPPER_NAMESPACE)
--shipper-system-namespace $(SHIPPER_NAMESPACE) \
$(SETUP_FLAGS)

# Install shipper in kubernetes, by applying all the required deployment yamls.
install: install-shipper install-shipper-state-metrics

0 comments on commit 4b17c3e

Please sign in to comment.
You can’t perform that action at this time.