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/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 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 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='' \