⬆️ 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

@@ -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,12 +27,14 @@ spec:
uninstall: uninstall:
keepHistory: false keepHistory: false
values: values:
controller: controllers:
main:
type: cronjob type: cronjob
cronjob: cronjob:
concurrencyPolicy: Forbid concurrencyPolicy: Forbid
schedule: "@daily" schedule: "@daily"
restartPolicy: OnFailure containers:
main:
image: image:
repository: ghcr.io/auricom/kubectl repository: ghcr.io/auricom/kubectl
tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41 tag: 1.28.2@sha256:c501dc41a29b62346cc791b83e1f0d6755dcc1776b89d506f4c4a8e3fb63be41
@@ -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
globalMounts:
- path: /app/opnsense-backup.sh
subPath: opnsense-backup.sh
readOnly: true readOnly: true