Skip to content

Commit b6436d6

Browse files
committed
fix(loki): Update Makefile
The upgrade target in the Makefile wasn't working and not required so removing it.
1 parent a54863a commit b6436d6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

platform/loki/Makefile

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ manifests:
2323
helm repo update
2424
helm template loki --values $(VALUES_FILE) --namespace loki grafana/loki --version $(LOKI_VERSION) > $(LOKI_OUTPUT_YAML)
2525

26-
.PHONY: upgrade
27-
upgrade:
28-
@echo "Removing previous $(LOKI_OUTPUT_YAML)..."
29-
rm -f $(LOKI_OUTPUT_YAML)
30-
@echo "Pulling Loki YAML (Version: $(LOKI_VERSION)) from Helm chart..."
31-
helm repo update
32-
helm upgrade --values $(VALUES_FILE) --namespace loki grafana/loki > $(LOKI_OUTPUT_YAML)
33-
3426
.PHONY: check-tools
3527
check-tools:
3628
@command -v helm >/dev/null 2>&1 || { echo >&2 "helm is not installed. Aborting."; exit 1; }
@@ -43,6 +35,5 @@ help:
4335
@echo "Targets:"
4436
@echo " init : Add Loki helm chart repository"
4537
@echo " manifests : Pull Loki YAML from Helm chart with specified values.yaml and remove the old Loki YAML"
46-
@echo " upgrade : Pull Loki YAML from Helm chart with specified values.yaml and upgrade the old Loki YAML"
4738
@echo " check-tools : ensure required tools are installed"
4839
@echo " help : Display this help message"

0 commit comments

Comments
 (0)