summaryrefslogtreecommitdiff
path: root/f3s
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-07 09:27:36 +0300
committerPaul Buetow <paul@buetow.org>2025-08-07 09:27:36 +0300
commit4849dd092768adc37f5cfd482f4f0b62d372c679 (patch)
tree815cbd34e6be69bd2afe74f8ca6d667621e05a8a /f3s
parent26c057da0d73adb9546a6e464d79208e31b28cc9 (diff)
migrate to be a helm chart
Diffstat (limited to 'f3s')
-rw-r--r--f3s/example-apache-volume-claim/Makefile10
-rw-r--r--f3s/example-apache-volume-claim/helm-chart/Chart.yaml5
-rw-r--r--f3s/example-apache-volume-claim/helm-chart/README.md11
-rw-r--r--f3s/example-apache-volume-claim/helm-chart/templates/apache-deployment.yaml (renamed from f3s/example-apache-volume-claim/apache-deployment.yaml)0
-rw-r--r--f3s/example-apache-volume-claim/helm-chart/templates/apache-ingress.yaml (renamed from f3s/example-apache-volume-claim/apache-ingress.yaml)0
-rw-r--r--f3s/example-apache-volume-claim/helm-chart/templates/apache-persistent-volume.yaml (renamed from f3s/example-apache-volume-claim/apache-persistent-volume.yaml)0
-rw-r--r--f3s/example-apache-volume-claim/helm-chart/templates/apache-service.yaml (renamed from f3s/example-apache-volume-claim/apache-service.yaml)0
7 files changed, 18 insertions, 8 deletions
diff --git a/f3s/example-apache-volume-claim/Makefile b/f3s/example-apache-volume-claim/Makefile
index d0c3044..19f4714 100644
--- a/f3s/example-apache-volume-claim/Makefile
+++ b/f3s/example-apache-volume-claim/Makefile
@@ -1,11 +1,5 @@
apply:
- kubectl apply -f apache-persistent-volume.yaml
- kubectl apply -f apache-service.yaml
- kubectl apply -f apache-deployment.yaml
- kubectl apply -f apache-ingress.yaml
+ helm install example-apache-volume-claim ./helm-chart
delete:
- kubectl delete -f apache-ingress.yaml
- kubectl delete -f apache-service.yaml
- kubectl delete -f apache-deployment.yaml
- kubectl delete -f apache-persistent-volume.yaml
+ helm uninstall example-apache-volume-claim \ No newline at end of file
diff --git a/f3s/example-apache-volume-claim/helm-chart/Chart.yaml b/f3s/example-apache-volume-claim/helm-chart/Chart.yaml
new file mode 100644
index 0000000..78d5397
--- /dev/null
+++ b/f3s/example-apache-volume-claim/helm-chart/Chart.yaml
@@ -0,0 +1,5 @@
+apiVersion: v2
+name: apache-volume-claim
+description: A Helm chart for deploying Apache with a persistent volume claim.
+version: 0.1.0
+appVersion: "1.0"
diff --git a/f3s/example-apache-volume-claim/helm-chart/README.md b/f3s/example-apache-volume-claim/helm-chart/README.md
new file mode 100644
index 0000000..c5740f1
--- /dev/null
+++ b/f3s/example-apache-volume-claim/helm-chart/README.md
@@ -0,0 +1,11 @@
+# Apache Helm Chart with Persistent Volume
+
+This chart deploys a simple Apache web server with a persistent volume claim.
+
+## Installing the Chart
+
+To install the chart with the release name `my-release`, run the following command:
+
+```bash
+helm install example-apache-volume-claim .
+```
diff --git a/f3s/example-apache-volume-claim/apache-deployment.yaml b/f3s/example-apache-volume-claim/helm-chart/templates/apache-deployment.yaml
index 78706a3..78706a3 100644
--- a/f3s/example-apache-volume-claim/apache-deployment.yaml
+++ b/f3s/example-apache-volume-claim/helm-chart/templates/apache-deployment.yaml
diff --git a/f3s/example-apache-volume-claim/apache-ingress.yaml b/f3s/example-apache-volume-claim/helm-chart/templates/apache-ingress.yaml
index b26f95b..b26f95b 100644
--- a/f3s/example-apache-volume-claim/apache-ingress.yaml
+++ b/f3s/example-apache-volume-claim/helm-chart/templates/apache-ingress.yaml
diff --git a/f3s/example-apache-volume-claim/apache-persistent-volume.yaml b/f3s/example-apache-volume-claim/helm-chart/templates/apache-persistent-volume.yaml
index 7df28e6..7df28e6 100644
--- a/f3s/example-apache-volume-claim/apache-persistent-volume.yaml
+++ b/f3s/example-apache-volume-claim/helm-chart/templates/apache-persistent-volume.yaml
diff --git a/f3s/example-apache-volume-claim/apache-service.yaml b/f3s/example-apache-volume-claim/helm-chart/templates/apache-service.yaml
index 1105e3a..1105e3a 100644
--- a/f3s/example-apache-volume-claim/apache-service.yaml
+++ b/f3s/example-apache-volume-claim/helm-chart/templates/apache-service.yaml