⬆️ opnsense-backup app-template v2

This commit is contained in:
auricom
2023-11-02 21:02:43 +01:00
parent 94a3cad946
commit 062b4ef72f
2 changed files with 24 additions and 21 deletions

View File

@@ -108,11 +108,11 @@ spec:
server: "${LOCAL_LAN_TRUENAS}" server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/photo path: /mnt/storage/photo
globalMounts: globalMounts:
- path: /mnt/storage/photo - path: /mnt/storage/photo
video: video:
enabled: true enabled: true
type: nfs type: nfs
server: "${LOCAL_LAN_TRUENAS}" server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/video path: /mnt/storage/video
globalMounts: globalMounts:
- path: /mnt/storage/video - path: /mnt/storage/video

View File

@@ -10,7 +10,7 @@ spec:
chart: chart:
spec: spec:
chart: app-template chart: app-template
version: 1.5.1 version: 2.0.3
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: bjw-s name: bjw-s
@@ -27,21 +27,23 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
type: cronjob main:
cronjob: type: cronjob
concurrencyPolicy: Forbid cronjob:
schedule: "@daily" concurrencyPolicy: Forbid
restartPolicy: OnFailure schedule: "@daily"
image: containers:
repository: ghcr.io/auricom/kubectl main:
tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41 image:
env: repository: ghcr.io/auricom/kubectl
OPNSENSE_URL: "https://opnsense.${SECRET_DOMAIN}" tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
S3_URL: "https://truenas.${SECRET_DOMAIN}:51515" env:
envFrom: OPNSENSE_URL: "https://opnsense.${SECRET_DOMAIN}"
- secretRef: S3_URL: "https://truenas.${SECRET_DOMAIN}:51515"
name: opnsense-backup-secret envFrom:
- secretRef:
name: opnsense-backup-secret
service: service:
main: main:
enabled: false enabled: false
@@ -50,7 +52,8 @@ spec:
enabled: true enabled: true
type: configMap type: configMap
name: opnsense-backup-configmap name: opnsense-backup-configmap
subPath: opnsense-backup.sh
mountPath: /app/opnsense-backup.sh
defaultMode: 0775 defaultMode: 0775
readOnly: true globalMounts:
- path: /app/opnsense-backup.sh
subPath: opnsense-backup.sh
readOnly: true