mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
update 13.0 k8s deployment
This commit is contained in:
parent
15d861cb86
commit
f559bbbded
|
|
@ -15,7 +15,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: seafile
|
- name: seafile
|
||||||
image: seafileltd/seafile-mc:12.0-latest
|
image: seafileltd/seafile-mc:13.0-latest
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: seafile-env
|
name: seafile-env
|
||||||
|
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: seafile-secret
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
# for Seafile server
|
|
||||||
JWT_PRIVATE_KEY: "<your JWT key, can generate from `pwgen -s 40 1`>"
|
|
||||||
|
|
||||||
# for database
|
|
||||||
SEAFILE_MYSQL_DB_PASSWORD: "<MySQL user seafile's passsword>"
|
|
||||||
|
|
||||||
# Initialization
|
|
||||||
## for seafile
|
|
||||||
INIT_SEAFILE_ADMIN_PASSWORD: "<Seafile admin's password>"
|
|
||||||
|
|
||||||
## for db
|
|
||||||
INIT_SEAFILE_MYSQL_ROOT_PASSWORD: "<MySQL user root's password>"
|
|
||||||
|
|
||||||
# for redis
|
|
||||||
REDIS_PASSWORD: ""
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: seafile-secret
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
# for Seafile server
|
|
||||||
JWT_PRIVATE_KEY: "<your JWT key, can generate from `pwgen -s 40 1`>"
|
|
||||||
|
|
||||||
# for database
|
|
||||||
SEAFILE_MYSQL_DB_PASSWORD: "<MySQL user seafile's passsword>"
|
|
||||||
|
|
||||||
# Initialization
|
|
||||||
## for Seafile admin
|
|
||||||
INIT_SEAFILE_ADMIN_PASSWORD: "<Seafile admin's password>"
|
|
||||||
|
|
||||||
## for db
|
|
||||||
INIT_SEAFILE_MYSQL_ROOT_PASSWORD: "<MySQL user root's password>"
|
|
||||||
|
|
||||||
# For S3 storage backend (only valid in USE_S3_STORAGE = true)
|
|
||||||
S3_SECRET_KEY: ""
|
|
||||||
S3_SSE_C_KEY: ""
|
|
||||||
|
|
||||||
# for redis
|
|
||||||
REDIS_PASSWORD: ""
|
|
||||||
|
|
@ -15,7 +15,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: seafile
|
- name: seafile
|
||||||
image: seafileltd/seafile-pro-mc:12.0-latest
|
image: seafileltd/seafile-pro-mc:13.0-latest
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: seafile-env
|
name: seafile-env
|
||||||
|
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: seafile-secret
|
|
||||||
type: Opaque
|
|
||||||
data:
|
|
||||||
# for Seafile server
|
|
||||||
JWT_PRIVATE_KEY: "<your JWT key, can generate from `pwgen -s 40 1`>"
|
|
||||||
|
|
||||||
# for database
|
|
||||||
SEAFILE_MYSQL_DB_PASSWORD: "<MySQL user seafile's passsword>"
|
|
||||||
|
|
||||||
# Initialization
|
|
||||||
## for seafile
|
|
||||||
INIT_SEAFILE_ADMIN_PASSWORD: "<Seafile admin's password>"
|
|
||||||
|
|
||||||
## for db
|
|
||||||
INIT_SEAFILE_MYSQL_ROOT_PASSWORD: "<MySQL user root's password>"
|
|
||||||
|
|
||||||
# For S3 storage backend (only valid in USE_S3_STORAGE = true)
|
|
||||||
S3_SECRET_KEY: ""
|
|
||||||
S3_SSE_C_KEY: ""
|
|
||||||
|
|
||||||
# for redis
|
|
||||||
REDIS_PASSWORD: ""
|
|
||||||
Loading…
Reference in New Issue