52 lines
1.0 KiB
YAML
52 lines
1.0 KiB
YAML
image:
|
|
pullPolicy: IfNotPresent
|
|
repository: cloudreve/cloudreve
|
|
tag: 3.8.3@sha256:a9e2373b7ca59bc43b9a4ceb50e7f6b80539c1732a9439b96dfe1aec6354a6c5
|
|
persistence:
|
|
avatarpath:
|
|
enabled: true
|
|
mountPath: /cloudreve/avatar
|
|
config:
|
|
enabled: true
|
|
targetSelector:
|
|
main:
|
|
main:
|
|
mountPath: /cloudreve
|
|
init:
|
|
mountPath: /conf-init
|
|
uploadpath:
|
|
enabled: true
|
|
mountPath: /cloudreve/uploads
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsGroup: 0
|
|
runAsUser: 0
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
initContainers:
|
|
init:
|
|
enabled: true
|
|
type: init
|
|
imageSelector: image
|
|
command:
|
|
- "/bin/sh"
|
|
- "-c"
|
|
- |
|
|
set -x
|
|
ls -lasth /cloudreve
|
|
cp -a /cloudreve/cloudreve /conf-init/cloudreve
|
|
ls -lasht /conf-init
|
|
containers:
|
|
main: {}
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 5212
|
|
targetPort: 5212
|
|
portal:
|
|
open:
|
|
enabled: true
|