-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
26 lines (18 loc) · 1.15 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
CHART_OPTS=-f values-secret.yaml.template -f values-global.yaml -f values-hub.yaml --set global.targetRevision=main --set global.valuesDirectoryURL="https://github.com/hybrid-cloud-patterns/ansible-edge-gitops/raw/main/" --set global.pattern="$(NAME)" --set global.namespace="$(NAME)" --set global.hubClusterDomain=example.com --set global.localClusterDomain=local.example.com
.PHONY: default
default: help
help:
@make -f common/Makefile MAKEFILE_LIST="Makefile common/Makefile" help
%:
make -f common/Makefile $*
install upgrade deploy: operator-deploy post-install ## Install or upgrade the pattern via the operator
echo "Installed/Upgraded"
post-install: ## Post-install tasks - load-secrets
make snakeoil-certs
make load-secrets
echo "Post-deploy complete"
deploy-kubevirt-worker: ## Deploy the metal node worker (from workstation). This is normally done in-cluster
./scripts/deploy_kubevirt_worker.sh
snakeoil-certs: ## Create self-signed certificates if they do not already exist
ansible-playbook $(EXTRA_PLAYBOOK_OPTS) ./ansible/make_snakeoil_certpair.yml -e '{ "certificate_names": [ "otel-collector-edge-observability-stack" ] }'
.phony: install test