2022-07-20 16:30:17 +00:00
|
|
|
image:
|
|
|
|
pullPolicy: IfNotPresent
|
2024-02-04 06:50:14 +00:00
|
|
|
repository: cloudreve/cloudreve
|
2024-07-26 06:20:53 +00:00
|
|
|
tag: 3.8.3@sha256:b6c8bfd463898354831c311fb3967a410714a5319b5a86c4bf5d89e0487cc5bd
|
2022-07-20 16:30:17 +00:00
|
|
|
persistence:
|
|
|
|
avatarpath:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /cloudreve/avatar
|
|
|
|
config:
|
|
|
|
enabled: true
|
2024-02-04 06:50:14 +00:00
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main:
|
|
|
|
mountPath: /cloudreve
|
|
|
|
init:
|
|
|
|
mountPath: /conf-init
|
2022-07-20 16:30:17 +00:00
|
|
|
uploadpath:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /cloudreve/uploads
|
|
|
|
securityContext:
|
2023-12-07 14:26:46 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsUser: 0
|
2024-02-04 06:50:14 +00:00
|
|
|
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: {}
|
2022-07-20 16:30:17 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 5212
|
|
|
|
targetPort: 5212
|
2024-02-04 06:50:14 +00:00
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|