mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
⬆️ opnsense-backup app-template v2
This commit is contained in:
@@ -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
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user