diff --git a/deploy/charts/mysql-cluster/templates/backup-secret.yaml b/deploy/charts/mysql-cluster/templates/backup-secret.yaml index b549232d6..558a478f1 100644 --- a/deploy/charts/mysql-cluster/templates/backup-secret.yaml +++ b/deploy/charts/mysql-cluster/templates/backup-secret.yaml @@ -19,5 +19,5 @@ type: Opaque data: {{- range $key, $value := .Values.backupCredentials }} {{ $key | upper }}: {{ $value | b64enc | quote }} - {{ end }} + {{- end }} {{- end -}} diff --git a/deploy/charts/mysql-cluster/values.yaml b/deploy/charts/mysql-cluster/values.yaml index 6246e6819..4499991d4 100644 --- a/deploy/charts/mysql-cluster/values.yaml +++ b/deploy/charts/mysql-cluster/values.yaml @@ -35,11 +35,17 @@ backupRemoteDeletePolicy: # backupSecretLabels: {} # backupSecretAnnotations: {} backupCredentials: + # use s3 https://rclone.org/s3/ + # S3_PROVIDER: ? # like: AWS, Minio, Ceph, and so on + # S3_ENDPOINT: ? # AWS_ACCESS_KEY_ID: ? # AWS_SECRET_ACCESS_KEY: ? - # AWS_REGION: us-east-1 + # AWS_REGION: ? # AWS_ACL: ? + # AWS_STORAGE_CLASS: ? + # AWS_SESSION_TOKEN: ? + # use google cloud storage https://rclone.org/googlecloudstorage/ # GCS_SERVICE_ACCOUNT_JSON_KEY: ? # GCS_PROJECT_ID: ? # GCS_OBJECT_ACL: ? @@ -47,7 +53,18 @@ backupCredentials: # GCS_LOCATION: ? # GCS_STORAGE_CLASS: MULTI_REGIONAL + # use http https://rclone.org/http/ # HTTP_URL: ? + + # use google drive https://rclone.org/drive/ + # GDRIVE_CLIENT_ID: ? + # GDRIVE_ROOT_FOLDER_ID: ? + # GDRIVE_IMPERSONATOR: ? + + # use azure https://rclone.org/azureblob/ + # AZUREBLOB_ACCOUNT: ? + # AZUREBLOB_KEY: ? + ## For enabling and configuring pt-kill: https://www.percona.com/doc/percona-toolkit/LATEST/pt-kill.html #queryLimits: # maxIdleTime: ... # pt-kill --idle-time diff --git a/examples/example-cluster.yaml b/examples/example-cluster.yaml index 273b9d917..57bdf54cb 100644 --- a/examples/example-cluster.yaml +++ b/examples/example-cluster.yaml @@ -23,6 +23,36 @@ spec: # backupSecretName: # backupScheduleJobsHistoryLimit: # backupRemoteDeletePolicy: + # backupCredentials: + # use s3 https://rclone.org/s3/ + # S3_PROVIDER: ? # like: AWS, Minio, Ceph, and so on + # S3_ENDPOINT: ? + # AWS_ACCESS_KEY_ID: ? + # AWS_SECRET_ACCESS_KEY: ? + # AWS_REGION: ? + # AWS_ACL: ? + # AWS_STORAGE_CLASS: ? + # AWS_SESSION_TOKEN: ? + + # use google cloud storage https://rclone.org/googlecloudstorage/ + # GCS_SERVICE_ACCOUNT_JSON_KEY: ? + # GCS_PROJECT_ID: ? + # GCS_OBJECT_ACL: ? + # GCS_BUCKET_ACL: ? + # GCS_LOCATION: ? + # GCS_STORAGE_CLASS: MULTI_REGIONAL + + # use http https://rclone.org/http/ + # HTTP_URL: ? + + # use google drive https://rclone.org/drive/ + # GDRIVE_CLIENT_ID: ? + # GDRIVE_ROOT_FOLDER_ID: ? + # GDRIVE_IMPERSONATOR: ? + + # use azure https://rclone.org/azureblob/ + # AZUREBLOB_ACCOUNT: ? + # AZUREBLOB_KEY: ? ## Custom Server ID Offset for replication # serverIDOffset: 100