From f3d78b2175de670b710923ad4e36883ff0cb1203 Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Mon, 27 Oct 2025 14:58:20 +0800 Subject: [PATCH 1/4] remove redundent sentences --- manual/setup/helm_chart_single_node.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/manual/setup/helm_chart_single_node.md b/manual/setup/helm_chart_single_node.md index c472bccf..07adbf69 100644 --- a/manual/setup/helm_chart_single_node.md +++ b/manual/setup/helm_chart_single_node.md @@ -27,8 +27,6 @@ Please refer [here](./system_requirements.md) for the details of system requirem === "Seafile Pro" ```sh - kubectl create ns seafile - kubectl create secret generic seafile-secret --namespace seafile \ --from-literal=JWT_PRIVATE_KEY='' \ --from-literal=DB_PASSWORD='' \ @@ -39,8 +37,6 @@ Please refer [here](./system_requirements.md) for the details of system requirem === "Seafile CE" ```sh - kubectl create ns seafile - kubectl create secret generic seafile-secret --namespace seafile \ --from-literal=JWT_PRIVATE_KEY='' \ --from-literal=DB_PASSWORD='' \ From 3fc06810f17b18a2e25b948feae68fe5d696c84e Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Mon, 27 Oct 2025 15:24:28 +0800 Subject: [PATCH 2/4] update cluster pvc access mode to ReadWriteMany --- manual/repo/k8s/cluster/seafile-persistentvolumeclaim.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/repo/k8s/cluster/seafile-persistentvolumeclaim.yaml b/manual/repo/k8s/cluster/seafile-persistentvolumeclaim.yaml index 06289246..49aa6216 100644 --- a/manual/repo/k8s/cluster/seafile-persistentvolumeclaim.yaml +++ b/manual/repo/k8s/cluster/seafile-persistentvolumeclaim.yaml @@ -5,7 +5,7 @@ metadata: namespace: seafile spec: accessModes: - - ReadWriteOnce + - ReadWriteMany resources: requests: storage: 10Gi From a31836f7320724b869fb846309abb943299807e0 Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Tue, 28 Oct 2025 10:42:59 +0800 Subject: [PATCH 3/4] opt(k8s resources): set enableServiceLinks to false --- manual/repo/k8s/ce/seafile-deployment.yaml | 1 + manual/repo/k8s/cluster/seafile-backend-deployment.yaml | 1 + manual/repo/k8s/pro/seafile-deployment.yaml | 1 + 3 files changed, 3 insertions(+) diff --git a/manual/repo/k8s/ce/seafile-deployment.yaml b/manual/repo/k8s/ce/seafile-deployment.yaml index 1af2e58e..e0ae7829 100644 --- a/manual/repo/k8s/ce/seafile-deployment.yaml +++ b/manual/repo/k8s/ce/seafile-deployment.yaml @@ -13,6 +13,7 @@ spec: labels: app: seafile spec: + enableServiceLinks: false containers: - name: seafile image: seafileltd/seafile-mc:12.0-latest diff --git a/manual/repo/k8s/cluster/seafile-backend-deployment.yaml b/manual/repo/k8s/cluster/seafile-backend-deployment.yaml index edd90a96..2e1d666a 100644 --- a/manual/repo/k8s/cluster/seafile-backend-deployment.yaml +++ b/manual/repo/k8s/cluster/seafile-backend-deployment.yaml @@ -13,6 +13,7 @@ spec: labels: app: seafile-backend spec: + enableServiceLinks: false initContainers: - name: set-ownership image: busybox diff --git a/manual/repo/k8s/pro/seafile-deployment.yaml b/manual/repo/k8s/pro/seafile-deployment.yaml index fc8347d3..67b18845 100644 --- a/manual/repo/k8s/pro/seafile-deployment.yaml +++ b/manual/repo/k8s/pro/seafile-deployment.yaml @@ -13,6 +13,7 @@ spec: labels: app: seafile spec: + enableServiceLinks: false containers: - name: seafile image: seafileltd/seafile-pro-mc:12.0-latest From ea6bd395bc4c6f6e52a4b01927b3ab7586f66c14 Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Tue, 28 Oct 2025 10:44:23 +0800 Subject: [PATCH 4/4] opt(k8s resources): set enableServiceLinks to false --- manual/repo/k8s/cluster/seafile-frontend-deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/manual/repo/k8s/cluster/seafile-frontend-deployment.yaml b/manual/repo/k8s/cluster/seafile-frontend-deployment.yaml index e5f8aeb5..80dfd209 100644 --- a/manual/repo/k8s/cluster/seafile-frontend-deployment.yaml +++ b/manual/repo/k8s/cluster/seafile-frontend-deployment.yaml @@ -13,6 +13,7 @@ spec: labels: app: seafile-frontend spec: + enableServiceLinks: false initContainers: - name: set-ownership image: busybox