summaryrefslogtreecommitdiff
path: root/f3s/example-apache
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-08 21:52:39 +0300
committerPaul Buetow <paul@buetow.org>2025-08-08 21:52:39 +0300
commitfa0b7b5ec7fc20313e430fdbe6e7938a258ce48a (patch)
treea483ce76de2ad8f6da3a94304346fdeb92aba3c8 /f3s/example-apache
parentad81b9b4c74f03029864c7859f9c2662d2cfbefb (diff)
refactor Justfile
Diffstat (limited to 'f3s/example-apache')
-rw-r--r--f3s/example-apache/Justfile13
1 files changed, 10 insertions, 3 deletions
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}}