Skip to content

Commit

Permalink
Fix deploy-stable target
Browse files Browse the repository at this point in the history
Don't pass version into deploy-with-helm so imageTag is set to the
version from released chart.

Signed-off-by: Dinar Valeev <dinar.valeev@absa.africa>
  • Loading branch information
k0da committed May 8, 2021
1 parent ba618ae commit ea4f24d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ deploy-full-local-setup: ## Deploy full local multicluster setup (k3d >= 4.2.0)
.PHONY: deploy-stable
deploy-stable:
@echo "\n$(YELLOW) import $(CYAN)k8gb:$(VERSION) $(YELLOW)to $(CYAN)$(CLUSTER_GSLB1), $(CLUSTER_GSLB2) $(NC)"
$(call deploy-local-cluster,$(CLUSTER_GSLB1),$(CLUSTER_GSLB2),$(VERSION),,'k8gb/k8gb')
$(call deploy-local-cluster,$(CLUSTER_GSLB2),$(CLUSTER_GSLB1),$(VERSION),$(CLUSTER_GSLB2_HELM_ARGS),'k8gb/k8gb')
$(call deploy-local-cluster,$(CLUSTER_GSLB1),$(CLUSTER_GSLB2),,,'k8gb/k8gb')
$(call deploy-local-cluster,$(CLUSTER_GSLB2),$(CLUSTER_GSLB1),,$(CLUSTER_GSLB2_HELM_ARGS),'k8gb/k8gb')

$(call list-running-pods,$(CLUSTER_GSLB1))
$(call list-running-pods,$(CLUSTER_GSLB2))
Expand Down Expand Up @@ -350,7 +350,7 @@ define deploy-local-cluster
@echo "\n$(YELLOW)Create namespace $(NC)"
kubectl apply -f deploy/namespace.yaml

@echo "\n$(YELLOW)Deploy GSLB operator from $3 $(NC)"
@echo "\n$(YELLOW)Deploy GSLB operator from ${3:-stable chart} $(NC)"
$(call deploy-k8gb-with-helm,$1,$2,$3,$4,$5)

@echo "\n$(YELLOW)Deploy Ingress $(NC)"
Expand Down

0 comments on commit ea4f24d

Please sign in to comment.