forked from mariadb-operator/mariadb-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
backup_s3.yaml
38 lines (38 loc) · 900 Bytes
/
backup_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
37
38
apiVersion: k8s.mariadb.com/v1alpha1
kind: Backup
metadata:
name: backup
spec:
mariaDbRef:
name: mariadb
maxRetention: 720h # 30 days
# ignoreGlobalPriv: true
storage:
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