Skip to content

Commit

Permalink
Allow override of DEPLOY_APPS
Browse files Browse the repository at this point in the history
When using the local setup to debug issues or develop some feature I find it useful to not deploy sample applications.
By starting with an "empty" cluster it is much easier to analyse the controller logs since there won't be any additional noise.

```
K8GB_LOCAL_VERSION=test DEPLOY_APPS=false make deploy-full-local-setup
```

Signed-off-by: Andre Aguas <[email protected]>
  • Loading branch information
abaguas committed Oct 31, 2024
1 parent 8e22d67 commit 96b23c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ CLUSTER_GEO_TAGS ?= eu us cz af ru ap uk ca
CHART ?= k8gb/k8gb
CLUSTER_GSLB_NETWORK = k3d-action-bridge-network
CLUSTER_GSLB_GATEWAY = docker network inspect ${CLUSTER_GSLB_NETWORK} -f '{{ (index .IPAM.Config 0).Gateway }}'
DEPLOY_APPS ?= true
GSLB_DOMAIN ?= cloud.example.com
REPO := absaoss/k8gb
SHELL := bash
Expand Down Expand Up @@ -136,7 +137,7 @@ deploy-full-local-setup: ensure-cluster-size ## Deploy full local multicluster s
$(MAKE) create-local-cluster CLUSTER_NAME=$(CLUSTER_NAME)$$c ;\
done
@if [ "$(K8GB_LOCAL_VERSION)" = test ]; then $(MAKE) release-images ; fi
$(MAKE) deploy-$(K8GB_LOCAL_VERSION)-version DEPLOY_APPS=true
$(MAKE) deploy-$(K8GB_LOCAL_VERSION)-version DEPLOY_APPS=$(DEPLOY_APPS)

.PHONY: deploy-stable-version
deploy-stable-version:
Expand Down

0 comments on commit 96b23c2

Please sign in to comment.