add backup
This commit is contained in:
@@ -24,4 +24,5 @@ resources:
|
|||||||
- ops-safe-vmcp.yaml
|
- ops-safe-vmcp.yaml
|
||||||
- ops-safe-vmcp-ingress.yaml
|
- ops-safe-vmcp-ingress.yaml
|
||||||
- k8s-registry.yaml
|
- k8s-registry.yaml
|
||||||
|
- toolhive-registry-backup.yaml
|
||||||
- toolhive-registry-postgres.yaml
|
- toolhive-registry-postgres.yaml
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
apiVersion: barmancloud.cnpg.io/v1
|
||||||
|
kind: ObjectStore
|
||||||
|
metadata:
|
||||||
|
name: minio-store
|
||||||
|
namespace: toolhive-system
|
||||||
|
spec:
|
||||||
|
configuration:
|
||||||
|
destinationPath: s3://cnpg-backup/backup
|
||||||
|
endpointURL: http://ventoux.olb42.com:9000
|
||||||
|
s3Credentials:
|
||||||
|
accessKeyId:
|
||||||
|
name: cnpg-backup
|
||||||
|
key: AWS_ACCESS_KEY_ID
|
||||||
|
secretAccessKey:
|
||||||
|
name: cnpg-backup
|
||||||
|
key: AWS_SECRET_ACCESS_KEY
|
||||||
|
wal:
|
||||||
|
compression: gzip
|
||||||
|
retentionPolicy: "14d"
|
||||||
|
instanceSidecarConfiguration:
|
||||||
|
retentionPolicyIntervalSeconds: 1800
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 50m
|
||||||
|
memory: 64Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 256Mi
|
||||||
Reference in New Issue
Block a user