2024-02-24 19:17:44 +00:00
|
|
|
image:
|
|
|
|
repository: ghcr.io/anotherstranger/borg-server
|
|
|
|
pullPolicy: IfNotPresent
|
2024-04-16 17:01:19 +00:00
|
|
|
tag: 2.3.1@sha256:d4c25f2567ec1e3724924c8335ea4b08a404ef282ed32458f8b943f7d1cbe0b5
|
2024-02-24 19:17:44 +00:00
|
|
|
|
|
|
|
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
|