From 4a78e9efdb453f5eaabd0d2d1caa2abcd851608a Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Mon, 27 Oct 2025 15:00:25 +0800 Subject: [PATCH 1/3] 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 9880e3d1..5f920825 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=SEAFILE_MYSQL_DB_PASSWORD='' \ @@ -41,8 +39,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=SEAFILE_MYSQL_DB_PASSWORD='' \ From 00b2d9cb9b649d61819bd3cbc820744ad60ed0ca Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Mon, 27 Oct 2025 15:23:58 +0800 Subject: [PATCH 2/3] 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 081702c2528828cee805aba67792395aa79fcbb6 Mon Sep 17 00:00:00 2001 From: Junxiang Huang Date: Tue, 28 Oct 2025 10:43:47 +0800 Subject: [PATCH 3/3] 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/cluster/seafile-frontend-deployment.yaml | 1 + manual/repo/k8s/pro/seafile-deployment.yaml | 1 + 4 files changed, 4 insertions(+) diff --git a/manual/repo/k8s/ce/seafile-deployment.yaml b/manual/repo/k8s/ce/seafile-deployment.yaml index 640ab538..5b50543c 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:13.0-latest diff --git a/manual/repo/k8s/cluster/seafile-backend-deployment.yaml b/manual/repo/k8s/cluster/seafile-backend-deployment.yaml index e2df9ba0..85120c34 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/cluster/seafile-frontend-deployment.yaml b/manual/repo/k8s/cluster/seafile-frontend-deployment.yaml index 2f38ff94..cfbb9f0d 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 diff --git a/manual/repo/k8s/pro/seafile-deployment.yaml b/manual/repo/k8s/pro/seafile-deployment.yaml index 11d2ea21..95daa047 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:13.0-latest