K8up backups depend on S3 buckets to be provisioned. This PR does currently skips the S3 bucket provisioning (see #78 )
Currently this feature is not usable, since S3 bucket provisioning is missing from this PR.
For local testing, a Minio is deployed and used for testing. Use the make target make s3-credentials to create the necessary Secret for K8up when installing the samples through make install-samples
For trying out the backup follow these steps:
make local-install install-samples s3-credentials
# to checkout that backups are done on the minio s3 bucket, update the frequency of backups as follows (every 1 minute):
kubectl -n sv-postgresql-s-moved-exodus-6781 patch schedule postgresql --type='merge' -p '{"spec":{"backup":{"schedule": "*/1 * * * *"}}}'
Checklist
For Code changes
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[x] PR contains the label area:operator
[x] Link this PR to related issues
[x] I have not made any changes in the charts/ directory.
Summary
Currently this feature is not usable, since S3 bucket provisioning is missing from this PR.
make s3-credentials
to create the necessary Secret for K8up when installing the samples throughmake install-samples
For trying out the backup follow these steps:
Checklist
For Code changes
bug
,enhancement
,documentation
,change
,breaking
,dependency
as they show up in the changelogarea:operator
charts/
directory.