Skip to content

Commit 00cef1b

Browse files
authored
Kubernetes makefile: add usage example (#1244)
Document how to target particular releases (apps) with helmfile command Related PR/s * https://git.speag.com/oSparc/osparc-ops-deployment-configuration/-/merge_requests/1640
1 parent 946fb52 commit 00cef1b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

charts/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,15 @@ include $(REPO_CONFIG_LOCATION)
1111
export CONFIG_DIR := $(shell dirname $(REPO_CONFIG_LOCATION))
1212
CHART_DIRS := $(wildcard $(REPO_BASE_DIR)/charts/*/)
1313

14+
# Example of usage:
15+
# make helmfile-diff HELMFILE_EXTRA_ARGS='--selector app=adminer'
1416
HELMFILE_EXTRA_ARGS ?=
1517
HELMFILE := helmfile $(HELMFILE_EXTRA_ARGS)
1618

19+
#
20+
# Targets
21+
#
22+
1723
.PHONY: .check-helmfile-installed
1824
.check-helmfile-installed: ## Checks if helmfile is installed
1925
@if ! command -v helmfile >/dev/null 2>&1; then \

0 commit comments

Comments
 (0)