Files
timescaledb/k8s/recovery/restore-latest.yaml
2026-05-06 11:42:48 +02:00

25 lines
681 B
YAML

apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: timescale-restore-latest
namespace: database
spec:
instances: 1
imageName: ghcr.io/cloudnative-pg/postgresql:pg15
bootstrap:
recovery:
source: timescale-cluster
storage:
size: 50Gi
externalClusters:
- name: timescale-cluster
barmanObjectStore:
destinationPath: "s3://backups/"
endpointURL: "http://minio.minio-system.svc.cluster.local:9000"
s3Credentials:
accessKeyId:
name: s3-creds
key: S3_ACCESS_KEY_ID
secretAccessKey:
name: s3-creds
key: S3_SECRET_ACCESS_KEY