48 lines
949 B
YAML
48 lines
949 B
YAML
image:
|
|
repository: ghcr.io/anotherstranger/borg-server
|
|
pullPolicy: IfNotPresent
|
|
tag: 2.3.0@sha256:295707a5e075b6c14e0618ef19a08f0245f192e673bb314ff6108426211d6f44
|
|
|
|
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
|