45 lines
966 B
YAML
45 lines
966 B
YAML
# yaml-language-server: $schema=./values.schema.json
|
|
image:
|
|
repository: ghcr.io/anotherstranger/borg-server
|
|
pullPolicy: IfNotPresent
|
|
tag: 2.8.0@sha256:bd9c58a28d1bd341b82c660b613574413ef017e798a94e805a87e0abf08a8ba0
|
|
|
|
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"
|