77 lines
2.0 KiB
YAML
77 lines
2.0 KiB
YAML
image:
|
|
pullPolicy: IfNotPresent
|
|
repository: tccr.io/truecharts/backuppc
|
|
tag: v6.0.2@sha256:80fe126415f0b530dd7d2645da23c8409f62f184a018c52a3ec1d8c5237d30ff
|
|
|
|
securityContext:
|
|
container:
|
|
runAsNonRoot: false
|
|
readOnlyRootFilesystem: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
protocol: http
|
|
targetPort: 80
|
|
port: 8000
|
|
|
|
backuppc:
|
|
smtp:
|
|
auto_from: false
|
|
host: postfix-relay
|
|
port: 25
|
|
domain: docker
|
|
maildomain: local
|
|
auth: none
|
|
user: ""
|
|
pass: ""
|
|
tls: false
|
|
starttls: false
|
|
tlscertcheck: false
|
|
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
env:
|
|
USER_BACKUPPC: "{{ .Values.securityContext.container.PUID }}"
|
|
GROUP_BACKUPPC: "{{ .Values.securityContext.pod.fsGroup }}"
|
|
CONFIG_PATH: "{{ .Values.persistence.config.mountPath }}"
|
|
LOG_PATH: "{{ .Values.persistence.logs.mountPath }}"
|
|
SSH_KEYS_PATH: "{{ .Values.persistence.ssh.mountPath }}"
|
|
DATA_PATH: "{{ .Values.persistence.data.mountPath }}"
|
|
# SMTP
|
|
SMTP_AUTO_FROM: "{{ .Values.backuppc.smtp.auto_from }}"
|
|
SMTP_HOST: "{{ .Values.backuppc.smtp.host }}"
|
|
SMTP_PORT: "{{ .Values.backuppc.smtp.port }}"
|
|
SMTP_DOMAIN: "{{ .Values.backuppc.smtp.domain }}"
|
|
SMTP_MAILDOMAIN: "{{ .Values.backuppc.smtp.maildomain }}"
|
|
SMTP_AUTHENTICATION: "{{ .Values.backuppc.smtp.auth }}"
|
|
SMTP_USER: "{{ .Values.backuppc.smtp.user }}"
|
|
SMTP_PASS: "{{ .Values.backuppc.smtp.pass }}"
|
|
SMTP_TLS: "{{ .Values.backuppc.smtp.tls }}"
|
|
SMTP_STARTTLS: "{{ .Values.backuppc.smtp.starttls }}"
|
|
SMTP_TLSCERTCHECK: "{{ .Values.backuppc.smtp.tlscertcheck }}"
|
|
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
mountPath: /config
|
|
ssh:
|
|
enabled: true
|
|
mountPath: /.ssh
|
|
logs:
|
|
enabled: true
|
|
mountPath: /logs
|
|
data:
|
|
enabled: true
|
|
mountPath: /data
|
|
|
|
portal:
|
|
open:
|
|
enabled: true
|