Skip to content

Commit d23113e

Browse files
authored
fix(chart): add more info about backupCredentials (#875)
1 parent 06e6c21 commit d23113e

File tree

3 files changed

+49
-2
lines changed

3 files changed

+49
-2
lines changed

deploy/charts/mysql-cluster/templates/backup-secret.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ type: Opaque
1919
data:
2020
{{- range $key, $value := .Values.backupCredentials }}
2121
{{ $key | upper }}: {{ $value | b64enc | quote }}
22-
{{ end }}
22+
{{- end }}
2323
{{- end -}}

deploy/charts/mysql-cluster/values.yaml

+18-1
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,36 @@ backupRemoteDeletePolicy:
3535
# backupSecretLabels: {}
3636
# backupSecretAnnotations: {}
3737
backupCredentials:
38+
# use s3 https://rclone.org/s3/
39+
# S3_PROVIDER: ? # like: AWS, Minio, Ceph, and so on
40+
# S3_ENDPOINT: ?
3841
# AWS_ACCESS_KEY_ID: ?
3942
# AWS_SECRET_ACCESS_KEY: ?
40-
# AWS_REGION: us-east-1
43+
# AWS_REGION: ?
4144
# AWS_ACL: ?
45+
# AWS_STORAGE_CLASS: ?
46+
# AWS_SESSION_TOKEN: ?
4247

48+
# use google cloud storage https://rclone.org/googlecloudstorage/
4349
# GCS_SERVICE_ACCOUNT_JSON_KEY: ?
4450
# GCS_PROJECT_ID: ?
4551
# GCS_OBJECT_ACL: ?
4652
# GCS_BUCKET_ACL: ?
4753
# GCS_LOCATION: ?
4854
# GCS_STORAGE_CLASS: MULTI_REGIONAL
4955

56+
# use http https://rclone.org/http/
5057
# HTTP_URL: ?
58+
59+
# use google drive https://rclone.org/drive/
60+
# GDRIVE_CLIENT_ID: ?
61+
# GDRIVE_ROOT_FOLDER_ID: ?
62+
# GDRIVE_IMPERSONATOR: ?
63+
64+
# use azure https://rclone.org/azureblob/
65+
# AZUREBLOB_ACCOUNT: ?
66+
# AZUREBLOB_KEY: ?
67+
5168
## For enabling and configuring pt-kill: https://www.percona.com/doc/percona-toolkit/LATEST/pt-kill.html
5269
#queryLimits:
5370
# maxIdleTime: ... # pt-kill --idle-time

examples/example-cluster.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,36 @@ spec:
2323
# backupSecretName:
2424
# backupScheduleJobsHistoryLimit:
2525
# backupRemoteDeletePolicy:
26+
# backupCredentials:
27+
# use s3 https://rclone.org/s3/
28+
# S3_PROVIDER: ? # like: AWS, Minio, Ceph, and so on
29+
# S3_ENDPOINT: ?
30+
# AWS_ACCESS_KEY_ID: ?
31+
# AWS_SECRET_ACCESS_KEY: ?
32+
# AWS_REGION: ?
33+
# AWS_ACL: ?
34+
# AWS_STORAGE_CLASS: ?
35+
# AWS_SESSION_TOKEN: ?
36+
37+
# use google cloud storage https://rclone.org/googlecloudstorage/
38+
# GCS_SERVICE_ACCOUNT_JSON_KEY: ?
39+
# GCS_PROJECT_ID: ?
40+
# GCS_OBJECT_ACL: ?
41+
# GCS_BUCKET_ACL: ?
42+
# GCS_LOCATION: ?
43+
# GCS_STORAGE_CLASS: MULTI_REGIONAL
44+
45+
# use http https://rclone.org/http/
46+
# HTTP_URL: ?
47+
48+
# use google drive https://rclone.org/drive/
49+
# GDRIVE_CLIENT_ID: ?
50+
# GDRIVE_ROOT_FOLDER_ID: ?
51+
# GDRIVE_IMPERSONATOR: ?
52+
53+
# use azure https://rclone.org/azureblob/
54+
# AZUREBLOB_ACCOUNT: ?
55+
# AZUREBLOB_KEY: ?
2656

2757
## Custom Server ID Offset for replication
2858
# serverIDOffset: 100

0 commit comments

Comments
 (0)