removed labels
This commit is contained in:
@@ -6,8 +6,8 @@ metadata:
|
||||
name: daily-stateful
|
||||
namespace: openshift-adp
|
||||
spec:
|
||||
schedule: "0 03 * * *" # 3 AM daily (after config backup)
|
||||
|
||||
schedule: "0 03 * * *" # 3 AM daily (after config backup)
|
||||
|
||||
nameTemplate: "{{ .ScheduleName }}-{{ .Timestamp }}"
|
||||
|
||||
template:
|
||||
@@ -20,12 +20,12 @@ spec:
|
||||
- n8n
|
||||
- apim
|
||||
- gitea-ci
|
||||
|
||||
labels:
|
||||
backup-type: stateful
|
||||
schedule: daily
|
||||
retention: short
|
||||
|
||||
|
||||
#labels:
|
||||
# backup-type: stateful
|
||||
# schedule: daily
|
||||
# retention: short
|
||||
|
||||
# Exclude ephemeral resources
|
||||
excludedResources:
|
||||
- events
|
||||
@@ -34,14 +34,14 @@ spec:
|
||||
- taskruns.tekton.dev
|
||||
- replicasets.apps
|
||||
- pods
|
||||
|
||||
|
||||
# Use Kopia for volume backups
|
||||
snapshotVolumes: false
|
||||
defaultVolumesToFsBackup: true
|
||||
|
||||
|
||||
# 14 days retention
|
||||
ttl: 336h
|
||||
|
||||
|
||||
# Pre-backup hooks for data consistency
|
||||
hooks:
|
||||
resources:
|
||||
@@ -61,7 +61,7 @@ spec:
|
||||
- nodetool flush
|
||||
timeout: 5m
|
||||
onError: Continue
|
||||
|
||||
|
||||
# Gitea PostgreSQL: checkpoint before backup
|
||||
- name: gitea-postgres-checkpoint
|
||||
includedNamespaces:
|
||||
@@ -79,7 +79,7 @@ spec:
|
||||
- psql -U postgres -c 'CHECKPOINT;'
|
||||
timeout: 2m
|
||||
onError: Continue
|
||||
|
||||
|
||||
# Authentik PostgreSQL: checkpoint before backup
|
||||
- name: authentik-postgres-checkpoint
|
||||
includedNamespaces:
|
||||
@@ -96,4 +96,5 @@ spec:
|
||||
- -c
|
||||
- psql -U postgres -c 'CHECKPOINT;'
|
||||
timeout: 2m
|
||||
onError: Continue
|
||||
onError: Continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user