Add support for multiple backup configurations
Summary
I would like to configure separate daily and monthly backups through the Gitlab Helm chart, but currently there is only support for one configuration.
Configuration used
backups:
cron:
enabled: true
concurrencyPolicy: Replace
persistence:
enabled: true
accessMode: 'ReadWriteOnce'
size: '750Gi'
resources:
requests:
cpu: '1000m'
memory: '1024M'
schedule: '0 1 * * *'
extraArgs: '--skip registry --skip uploads --skip artifacts --skip lfs --skip packages --skip external_diffs --skip terraform_state --skip ci_secure_files'
objectStorage:
config:
secret:
key: config
gcpProject:
backend: gcs
Current behavior
Single backup configuration works, but a second config is not supported. I bypass this by exporting the cronjob to JSON, replacing config details, and applying using kubectl.
Expected behavior
Multiple backup cron configurations supported.
Versions
- Chart: 6.9.2
- Platform:
- Cloud: GKE
- Kubernetes: (
kubectl version
)- Client: 1.25.2
- Server: 1.24.10-gke.1200
- Helm: (
helm version
)- Client: 3.11.0
- Server: