Files
auricom-home-cluster/kubernetes/apps/default/homelab/opnsense/backup/helmrelease.yaml
feisar-bot[bot] 2bdb26c096 ⬆️ Update ghcr.io/auricom/kubectl ( 1.33 → 1.34 ) (#7433)
| datasource | package                 | from | to   |
| ---------- | ----------------------- | ---- | ---- |
| docker     | ghcr.io/auricom/kubectl | 1.33 | 1.34 |

Co-authored-by: feisar-bot[bot] <98277827+feisar-bot[bot]@users.noreply.github.com>
2025-09-06 07:42:43 +00:00

55 lines
1.5 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app homelab-opnsense-backup
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: app-template
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
controllers:
homelab-opnsense-backup:
type: cronjob
cronjob:
concurrencyPolicy: Forbid
schedule: "@daily"
containers:
app:
image:
repository: ghcr.io/auricom/kubectl
tag: 1.34@sha256:30a75ec766651a63b748e37e2730a07f32b0138909424e438b32ce409622c447
command:
- /bin/bash
- /app/backup.sh
env:
OPNSENSE_URL: "https://opnsense.${SECRET_INTERNAL_DOMAIN}"
S3_URL: "https://s3.${SECRET_INTERNAL_DOMAIN}"
envFrom:
- secretRef:
name: homelab-opnsense-backup-secret
service:
app:
controller: *app
enabled: false
persistence:
config:
enabled: true
type: configMap
name: homelab-opnsense-backup-configmap
defaultMode: 0775 # trunk-ignore(yamllint/octal-values)
globalMounts:
- path: /app/backup.sh
subPath: backup.sh
readOnly: true