Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Makefile: allow SETUP_FLAGS to be passed to shipperctl
Browse files Browse the repository at this point in the history
  • Loading branch information
juliogreff committed Sep 24, 2019
1 parent 1946752 commit a45e0ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a45e0ec

Please sign in to comment.