diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-07 09:46:42 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-07 09:46:42 +0300 |
| commit | 7b0e4269928e9b24d1bf45ee6289d5c0c3fe6f6f (patch) | |
| tree | a6b7d9946f867a9aaf19edd660e615b1befc7101 | |
| parent | 56b3819cdac0f70221095d499e0760534d959281 (diff) | |
converted to be a helm chart
| -rw-r--r-- | f3s/syncthing/Makefile | 11 | ||||
| -rw-r--r-- | f3s/syncthing/helm-chart/Chart.yaml | 5 | ||||
| -rw-r--r-- | f3s/syncthing/helm-chart/README.md | 11 | ||||
| -rw-r--r-- | f3s/syncthing/helm-chart/templates/deployment.yaml (renamed from f3s/syncthing/deployment.yaml) | 0 | ||||
| -rw-r--r-- | f3s/syncthing/helm-chart/templates/ingress.yaml (renamed from f3s/syncthing/ingress.yaml) | 0 | ||||
| -rw-r--r-- | f3s/syncthing/helm-chart/templates/persistent-volume.yaml (renamed from f3s/syncthing/persistent-volume.yaml) | 0 | ||||
| -rw-r--r-- | f3s/syncthing/helm-chart/templates/service.yaml (renamed from f3s/syncthing/service.yaml) | 0 | ||||
| -rw-r--r-- | f3s/syncthing/namespace.yaml | 4 |
8 files changed, 18 insertions, 13 deletions
diff --git a/f3s/syncthing/Makefile b/f3s/syncthing/Makefile index a3b12c2..d4d339e 100644 --- a/f3s/syncthing/Makefile +++ b/f3s/syncthing/Makefile @@ -1,12 +1,5 @@ apply: - kubectl apply -f namespace.yaml - kubectl apply -f persistent-volume.yaml - kubectl apply -f service.yaml - kubectl apply -f deployment.yaml - kubectl apply -f ingress.yaml + helm install syncthing ./helm-chart --namespace services --create-namespace delete: - kubectl delete -f ingress.yaml - kubectl delete -f service.yaml - kubectl delete -f deployment.yaml - kubectl delete -f persistent-volume.yaml + helm uninstall syncthing --namespace services
\ No newline at end of file diff --git a/f3s/syncthing/helm-chart/Chart.yaml b/f3s/syncthing/helm-chart/Chart.yaml new file mode 100644 index 0000000..2b98252 --- /dev/null +++ b/f3s/syncthing/helm-chart/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v2 +name: syncthing +description: A Helm chart for deploying Syncthing. +version: 0.1.0 +appVersion: "latest" diff --git a/f3s/syncthing/helm-chart/README.md b/f3s/syncthing/helm-chart/README.md new file mode 100644 index 0000000..0cc2391 --- /dev/null +++ b/f3s/syncthing/helm-chart/README.md @@ -0,0 +1,11 @@ +# Syncthing Helm Chart + +This chart deploys Syncthing. + +## Installing the Chart + +To install the chart with the release name `my-release`, run the following command: + +```bash +helm install syncthing . --namespace services --create-namespace +``` diff --git a/f3s/syncthing/deployment.yaml b/f3s/syncthing/helm-chart/templates/deployment.yaml index 9a85a17..9a85a17 100644 --- a/f3s/syncthing/deployment.yaml +++ b/f3s/syncthing/helm-chart/templates/deployment.yaml diff --git a/f3s/syncthing/ingress.yaml b/f3s/syncthing/helm-chart/templates/ingress.yaml index b1e68e1..b1e68e1 100644 --- a/f3s/syncthing/ingress.yaml +++ b/f3s/syncthing/helm-chart/templates/ingress.yaml diff --git a/f3s/syncthing/persistent-volume.yaml b/f3s/syncthing/helm-chart/templates/persistent-volume.yaml index 793ae60..793ae60 100644 --- a/f3s/syncthing/persistent-volume.yaml +++ b/f3s/syncthing/helm-chart/templates/persistent-volume.yaml diff --git a/f3s/syncthing/service.yaml b/f3s/syncthing/helm-chart/templates/service.yaml index 74bf5ed..74bf5ed 100644 --- a/f3s/syncthing/service.yaml +++ b/f3s/syncthing/helm-chart/templates/service.yaml diff --git a/f3s/syncthing/namespace.yaml b/f3s/syncthing/namespace.yaml deleted file mode 100644 index da390d0..0000000 --- a/f3s/syncthing/namespace.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: services |
