refactor: v2 #5

Merged
t.behrendt merged 7 commits from v2 into main 2025-02-07 20:56:02 +01:00
Showing only changes of commit 94f7c56932 - Show all commits

View File

@@ -50,16 +50,23 @@ Ensure the following commands are available in the container:
Example Kubernetes CronJob manifest for running BackupSidecar as a cron job for directory backups in minimal configuration: Example Kubernetes CronJob manifest for running BackupSidecar as a cron job for directory backups in minimal configuration:
```yaml ```yaml
apiVersion: batch/v1beta1 apiVersion: batch/v1
kind: CronJob kind: CronJob
metadata: metadata:
name: backupsidecar-cron name: backupsidecar-cron
namespace: authentik
spec: spec:
schedule: "0 2 * * *" # Run daily at 2:00 AM schedule: "0 7 * * *"
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 5
failedJobsHistoryLimit: 3
jobTemplate: jobTemplate:
spec: spec:
backoffLimit: 3
activeDeadlineSeconds: 300
template: template:
spec: spec:
restartPolicy: OnFailure
containers: containers:
- name: backupsidecar - name: backupsidecar
image: backupsidecar:latest image: backupsidecar:latest