48 lines
949 B
YAML
48 lines
949 B
YAML
image:
|
|
repository: ghcr.io/anotherstranger/borg-server
|
|
pullPolicy: IfNotPresent
|
|
tag: 2.6.3@sha256:a7313f007e962a13a34b284e7bf9429fe9a6eab1f1d2d339f9ba62c1076947f0
|
|
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: tcp
|
|
targetPort: 22
|
|
port: 8022
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
BORG_UID: "{{ .Values.securityContext.container.PUID }}"
|
|
BORG_GID: "{{ .Values.securityContext.pod.fsGroup }}"
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- SYS_CHROOT
|
|
- KILL
|
|
|
|
persistence:
|
|
borg:
|
|
enabled: true
|
|
mountPath: "/var/lib/docker-borg"
|
|
backups:
|
|
enabled: true
|
|
mountPath: "/home/borg/backups"
|
|
ssh:
|
|
enabled: true
|
|
mountPath: "/home/borg/.ssh"
|
|
|
|
portal:
|
|
open:
|
|
enabled: false
|