Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

Added helm chart publish github actions to github pages on tagging (#4219)

Matt00fda8688097
diff --git a/.github/workflows/helm_chart_release.yml b/.github/workflows/helm_chart_release.yml
new file mode 100644
index 0000000000..15dd6b059f
--- /dev/null
+++ b/.github/workflows/helm_chart_release.yml
@@ -0,0 +1,22 @@
+name: "helm: publish charts"
+on:
+ push:
+ tags:
+ - '*'
+
+permissions:
+ contents: write
+ pages: write
+
+jobs:
+ release:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Publish Helm charts
+ uses: stefanprodan/helm-gh-pages@master
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ charts_dir: k8s/charts
+ target_dir: helm
+ branch: gh-pages
\ No newline at end of file
diff --git a/k8s/helm_charts2/.helmignore b/k8s/charts/seaweedfs/.helmignore
similarity index 100%
rename from k8s/helm_charts2/.helmignore
rename to k8s/charts/seaweedfs/.helmignore
diff --git a/k8s/helm_charts2/Chart.yaml b/k8s/charts/seaweedfs/Chart.yaml
similarity index 100%
rename from k8s/helm_charts2/Chart.yaml
rename to k8s/charts/seaweedfs/Chart.yaml
diff --git a/k8s/helm_charts2/README.md b/k8s/charts/seaweedfs/README.md
similarity index 100%
rename from k8s/helm_charts2/README.md
rename to k8s/charts/seaweedfs/README.md
diff --git a/k8s/helm_charts2/dashboards/seaweedfs-grafana-dashboard.json b/k8s/charts/seaweedfs/dashboards/seaweedfs-grafana-dashboard.json
similarity index 100%
rename from k8s/helm_charts2/dashboards/seaweedfs-grafana-dashboard.json
rename to k8s/charts/seaweedfs/dashboards/seaweedfs-grafana-dashboard.json
diff --git a/k8s/helm_charts2/templates/_helpers.tpl b/k8s/charts/seaweedfs/templates/_helpers.tpl
similarity index 100%
rename from k8s/helm_charts2/templates/_helpers.tpl
rename to k8s/charts/seaweedfs/templates/_helpers.tpl
diff --git a/k8s/helm_charts2/templates/ca-cert.yaml b/k8s/charts/seaweedfs/templates/ca-cert.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/ca-cert.yaml
rename to k8s/charts/seaweedfs/templates/ca-cert.yaml
diff --git a/k8s/helm_charts2/templates/cert-clusterissuer.yaml b/k8s/charts/seaweedfs/templates/cert-clusterissuer.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/cert-clusterissuer.yaml
rename to k8s/charts/seaweedfs/templates/cert-clusterissuer.yaml
diff --git a/k8s/helm_charts2/templates/client-cert.yaml b/k8s/charts/seaweedfs/templates/client-cert.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/client-cert.yaml
rename to k8s/charts/seaweedfs/templates/client-cert.yaml
diff --git a/k8s/helm_charts2/templates/filer-cert.yaml b/k8s/charts/seaweedfs/templates/filer-cert.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/filer-cert.yaml
rename to k8s/charts/seaweedfs/templates/filer-cert.yaml
diff --git a/k8s/helm_charts2/templates/filer-service-client.yaml b/k8s/charts/seaweedfs/templates/filer-service-client.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/filer-service-client.yaml
rename to k8s/charts/seaweedfs/templates/filer-service-client.yaml
diff --git a/k8s/helm_charts2/templates/filer-service.yaml b/k8s/charts/seaweedfs/templates/filer-service.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/filer-service.yaml
rename to k8s/charts/seaweedfs/templates/filer-service.yaml
diff --git a/k8s/helm_charts2/templates/filer-servicemonitor.yaml b/k8s/charts/seaweedfs/templates/filer-servicemonitor.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/filer-servicemonitor.yaml
rename to k8s/charts/seaweedfs/templates/filer-servicemonitor.yaml
diff --git a/k8s/helm_charts2/templates/filer-statefulset.yaml b/k8s/charts/seaweedfs/templates/filer-statefulset.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/filer-statefulset.yaml
rename to k8s/charts/seaweedfs/templates/filer-statefulset.yaml
diff --git a/k8s/helm_charts2/templates/ingress.yaml b/k8s/charts/seaweedfs/templates/ingress.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/ingress.yaml
rename to k8s/charts/seaweedfs/templates/ingress.yaml
diff --git a/k8s/helm_charts2/templates/master-cert.yaml b/k8s/charts/seaweedfs/templates/master-cert.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/master-cert.yaml
rename to k8s/charts/seaweedfs/templates/master-cert.yaml
diff --git a/k8s/helm_charts2/templates/master-service.yaml b/k8s/charts/seaweedfs/templates/master-service.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/master-service.yaml
rename to k8s/charts/seaweedfs/templates/master-service.yaml
diff --git a/k8s/helm_charts2/templates/master-servicemonitor.yaml b/k8s/charts/seaweedfs/templates/master-servicemonitor.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/master-servicemonitor.yaml
rename to k8s/charts/seaweedfs/templates/master-servicemonitor.yaml
diff --git a/k8s/helm_charts2/templates/master-statefulset.yaml b/k8s/charts/seaweedfs/templates/master-statefulset.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/master-statefulset.yaml
rename to k8s/charts/seaweedfs/templates/master-statefulset.yaml
diff --git a/k8s/helm_charts2/templates/s3-deployment.yaml b/k8s/charts/seaweedfs/templates/s3-deployment.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/s3-deployment.yaml
rename to k8s/charts/seaweedfs/templates/s3-deployment.yaml
diff --git a/k8s/helm_charts2/templates/s3-service.yaml b/k8s/charts/seaweedfs/templates/s3-service.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/s3-service.yaml
rename to k8s/charts/seaweedfs/templates/s3-service.yaml
diff --git a/k8s/helm_charts2/templates/s3-servicemonitor.yaml b/k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/s3-servicemonitor.yaml
rename to k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml
diff --git a/k8s/helm_charts2/templates/seaweedfs-grafana-dashboard.yaml b/k8s/charts/seaweedfs/templates/seaweedfs-grafana-dashboard.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/seaweedfs-grafana-dashboard.yaml
rename to k8s/charts/seaweedfs/templates/seaweedfs-grafana-dashboard.yaml
diff --git a/k8s/helm_charts2/templates/seaweedfs-s3-secret.yaml b/k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/seaweedfs-s3-secret.yaml
rename to k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml
diff --git a/k8s/helm_charts2/templates/secret-seaweedfs-db.yaml b/k8s/charts/seaweedfs/templates/secret-seaweedfs-db.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/secret-seaweedfs-db.yaml
rename to k8s/charts/seaweedfs/templates/secret-seaweedfs-db.yaml
diff --git a/k8s/helm_charts2/templates/security-configmap.yaml b/k8s/charts/seaweedfs/templates/security-configmap.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/security-configmap.yaml
rename to k8s/charts/seaweedfs/templates/security-configmap.yaml
diff --git a/k8s/helm_charts2/templates/service-account.yaml b/k8s/charts/seaweedfs/templates/service-account.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/service-account.yaml
rename to k8s/charts/seaweedfs/templates/service-account.yaml
diff --git a/k8s/helm_charts2/templates/volume-cert.yaml b/k8s/charts/seaweedfs/templates/volume-cert.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/volume-cert.yaml
rename to k8s/charts/seaweedfs/templates/volume-cert.yaml
diff --git a/k8s/helm_charts2/templates/volume-service.yaml b/k8s/charts/seaweedfs/templates/volume-service.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/volume-service.yaml
rename to k8s/charts/seaweedfs/templates/volume-service.yaml
diff --git a/k8s/helm_charts2/templates/volume-servicemonitor.yaml b/k8s/charts/seaweedfs/templates/volume-servicemonitor.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/volume-servicemonitor.yaml
rename to k8s/charts/seaweedfs/templates/volume-servicemonitor.yaml
diff --git a/k8s/helm_charts2/templates/volume-statefulset.yaml b/k8s/charts/seaweedfs/templates/volume-statefulset.yaml
similarity index 100%
rename from k8s/helm_charts2/templates/volume-statefulset.yaml
rename to k8s/charts/seaweedfs/templates/volume-statefulset.yaml
diff --git a/k8s/helm_charts2/values.yaml b/k8s/charts/seaweedfs/values.yaml
similarity index 100%
rename from k8s/helm_charts2/values.yaml
rename to k8s/charts/seaweedfs/values.yaml