forked from mariadb-operator/mariadb-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrestore_s3.yaml
36 lines (36 loc) · 820 Bytes
/
restore_s3.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
apiVersion: k8s.mariadb.com/v1alpha1
kind: Restore
metadata:
name: restore
spec:
mariaDbRef:
name: mariadb
targetRecoveryTime: 2023-12-19T09:00:00Z
s3:
bucket: backups
prefix: mariadb
endpoint: minio.minio.svc.cluster.local:9000
region: us-east-1
accessKeyIdSecretKeyRef:
name: minio
key: access-key-id
secretAccessKeySecretKeyRef:
name: minio
key: secret-access-key
tls:
enabled: true
caSecretKeyRef:
name: minio-ca
key: ca.crt
# s3:
# bucket: mariadb-operator
# endpoint: play.min.io
# region: us-east-1
# accessKeyIdSecretKeyRef:
# name: minio-play
# key: access-key-id
# secretAccessKeySecretKeyRef:
# name: minio-play
# key: secret-access-key
# tls:
# enabled: true