mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 22:40:34 +00:00
The submariner-operator Helm chart deploys Submariner using the Submariner operator: it deploys the CRDs, roles, and SAs required to run the operator and Submariner, then pushes a Submariner CR to instruct the operator to deploy Submariner. This patch also adds a Makefile to validate the deployments; run make deploy to test the Helm charts (this will bring up two clusters, install the broker on one of them and the operator on both, and end with a connectivity test). Fixes: #17 Signed-off-by: Stephen Kitt <skitt@redhat.com>
27 lines
772 B
Makefile
27 lines
772 B
Makefile
# This Makefile contains the rules required to set up our
|
|
# Dapper-based build environment; it can be copied as-is to
|
|
# other projects (and needs to be copied, it can't be shared
|
|
# via the Dapper image since it's needed to retrieve the image)
|
|
|
|
.dapper:
|
|
@echo Downloading dapper
|
|
@curl -sL https://releases.rancher.com/dapper/latest/dapper-`uname -s`-`uname -m` > .dapper.tmp
|
|
@@chmod +x .dapper.tmp
|
|
@./.dapper.tmp -v
|
|
@mv .dapper.tmp .dapper
|
|
|
|
invoke_dapper = +./.dapper -m bind make -- $1
|
|
|
|
%: .dapper
|
|
@echo Invoking Dapper, MAKEFLAGS=$(MAKEFLAGS)
|
|
$(call invoke_dapper,$@)
|
|
|
|
# Ensure that files in the current directory don't hide Dapper targets
|
|
$(wildcard [^M]*): .dapper
|
|
$(call invoke_dapper,$@)
|
|
|
|
shell: .dapper
|
|
./.dapper -m bind -s
|
|
|
|
.PHONY: shell $(wildcard [^M]*)
|