From fa0b7b5ec7fc20313e430fdbe6e7938a258ce48a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 8 Aug 2025 21:52:39 +0300 Subject: refactor Justfile --- f3s/example-apache/Justfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'f3s/example-apache') diff --git a/f3s/example-apache/Justfile b/f3s/example-apache/Justfile index ef13e2d..579b925 100644 --- a/f3s/example-apache/Justfile +++ b/f3s/example-apache/Justfile @@ -1,5 +1,12 @@ -apply: - helm install example-apache ./helm-chart --namespace test --create-namespace +NAMESPACE := "test" +RELEASE_NAME := "example-apache" +CHART_PATH := "./helm-chart" + +install: + helm install {{RELEASE_NAME}} {{CHART_PATH}} --namespace {{NAMESPACE}} --create-namespace + +upgrade: + helm upgrade {{RELEASE_NAME}} {{CHART_PATH}} --namespace {{NAMESPACE}} delete: - helm uninstall example-apache --namespace test + helm uninstall {{RELEASE_NAME}} --namespace {{NAMESPACE}} -- cgit v1.2.3