2022-07-22 20:19:45 +00:00
|
|
|
image:
|
|
|
|
pullPolicy: IfNotPresent
|
2023-12-06 10:42:22 +00:00
|
|
|
repository: registry.gitlab.com/timvisee/send
|
|
|
|
tag: latest@sha256:1ee495161f176946e6e4077e17be2b8f8634c2d502172cc530a8cd5affd7078f
|
2024-01-26 22:22:34 +00:00
|
|
|
|
2022-07-22 20:19:45 +00:00
|
|
|
securityContext:
|
2023-12-07 14:26:46 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsUser: 0
|
2024-01-26 22:22:34 +00:00
|
|
|
|
2022-07-22 20:19:45 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2024-01-26 22:22:34 +00:00
|
|
|
protocol: http
|
2022-07-22 20:19:45 +00:00
|
|
|
port: 1443
|
2024-01-26 22:22:34 +00:00
|
|
|
|
2023-12-07 14:26:46 +00:00
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
env:
|
2024-01-26 22:22:34 +00:00
|
|
|
FILE_DIR: "{{ .Values.persistence.uploadpath.mountPath}}"
|
|
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
2023-12-07 14:26:46 +00:00
|
|
|
BASE_URL: http://192.168.0.100:1443
|
|
|
|
MAX_DOWNLOADS: "100"
|
|
|
|
MAX_EXPIRE_SECONDS: "604800"
|
|
|
|
MAX_FILE_SIZE: "2147483648"
|
|
|
|
NODE_ENV: production
|
2024-01-26 22:22:34 +00:00
|
|
|
REDIS_HOST:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: plainhost
|
|
|
|
REDIS_PASSWORD:
|
|
|
|
secretKeyRef:
|
|
|
|
expandObjectName: false
|
|
|
|
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
|
|
|
|
key: redis-password
|
|
|
|
REDIS_USER: "{{ .Values.redis.redisUsername }}"
|
2023-12-07 14:26:46 +00:00
|
|
|
REDIS_PORT: "6379"
|
2024-01-26 22:22:34 +00:00
|
|
|
|
|
|
|
persistence:
|
|
|
|
uploadpath:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /uploads
|
|
|
|
|
|
|
|
redis:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|