From 2a0ad865d67b3f9104d362a18faf51b0228a57ad Mon Sep 17 00:00:00 2001 From: Maho Takara Date: Fri, 31 May 2024 04:08:27 +0000 Subject: [PATCH] Add AWS_REGION in test case --- docs/usage.md | 6 +++++- e2e/testdata/backup.yaml | 2 ++ e2e/testdata/backup_tls.yaml | 2 ++ e2e/testdata/backup_with_env.yaml | 2 ++ e2e/testdata/restore.yaml | 2 ++ e2e/testdata/restore_tls.yaml | 2 ++ e2e/testdata/restore_with_env.yaml | 2 ++ 7 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/usage.md b/docs/usage.md index 3dda2a4f4..10157fbd9 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -36,6 +36,7 @@ After [setting up MOCO](setup.md), you can create MySQL clusters with a custom r - [Failover](#failover) - [Upgrading mysql version](#upgrading-mysql-version) - [Re-initializing an errant replica](#re-initializing-an-errant-replica) + - [Stop Clustering and Reconciliation](#stop-clustering-and-reconciliation) ## Basics @@ -428,7 +429,8 @@ spec: value: minioadmin - name: AWS_SECRET_ACCESS_KEY value: minioadmin - + - name: AWS_REGION + value: us-east-1 # bucketName is required. Other fields are optional. bucketConfig: bucketName: moco @@ -571,6 +573,8 @@ spec: value: minioadmin - name: AWS_SECRET_ACCESS_KEY value: minioadmin + - name: AWS_REGION + value: us-east-1 bucketConfig: bucketName: moco endpointURL: http://minio.default.svc:9000 diff --git a/e2e/testdata/backup.yaml b/e2e/testdata/backup.yaml index 8c87e5df8..831926e96 100644 --- a/e2e/testdata/backup.yaml +++ b/e2e/testdata/backup.yaml @@ -31,6 +31,8 @@ spec: value: minioadmin - name: AWS_SECRET_ACCESS_KEY value: minioadmin + - name: AWS_REGION + value: us-east-1 bucketConfig: bucketName: moco endpointURL: http://minio.default.svc:9000 diff --git a/e2e/testdata/backup_tls.yaml b/e2e/testdata/backup_tls.yaml index b30631173..16c09b002 100644 --- a/e2e/testdata/backup_tls.yaml +++ b/e2e/testdata/backup_tls.yaml @@ -31,6 +31,8 @@ spec: value: minioadmin - name: AWS_SECRET_ACCESS_KEY value: minioadmin + - name: AWS_REGION + value: us-east-1 volumeMounts: - mountPath: /minio-cert name: minio-cert diff --git a/e2e/testdata/backup_with_env.yaml b/e2e/testdata/backup_with_env.yaml index 8c52bbe2b..dd6bc8ab0 100644 --- a/e2e/testdata/backup_with_env.yaml +++ b/e2e/testdata/backup_with_env.yaml @@ -31,6 +31,8 @@ spec: value: minioadmin - name: AWS_SECRET_ACCESS_KEY value: minioadmin + - name: AWS_REGION + value: us-east-1 bucketConfig: bucketName: "$(BUCKET_NAME)" endpointURL: http://minio.default.svc:9000 diff --git a/e2e/testdata/restore.yaml b/e2e/testdata/restore.yaml index 7042a851a..79835305b 100644 --- a/e2e/testdata/restore.yaml +++ b/e2e/testdata/restore.yaml @@ -17,6 +17,8 @@ spec: value: minioadmin - name: AWS_SECRET_ACCESS_KEY value: minioadmin + - name: AWS_REGION + value: us-east-1 bucketConfig: bucketName: moco endpointURL: http://minio.default.svc:9000 diff --git a/e2e/testdata/restore_tls.yaml b/e2e/testdata/restore_tls.yaml index f15fb21d1..ed45f4440 100644 --- a/e2e/testdata/restore_tls.yaml +++ b/e2e/testdata/restore_tls.yaml @@ -17,6 +17,8 @@ spec: value: minioadmin - name: AWS_SECRET_ACCESS_KEY value: minioadmin + - name: AWS_REGION + value: us-east-1 volumeMounts: - mountPath: /minio-cert name: minio-cert diff --git a/e2e/testdata/restore_with_env.yaml b/e2e/testdata/restore_with_env.yaml index 13d593e1a..535c56490 100644 --- a/e2e/testdata/restore_with_env.yaml +++ b/e2e/testdata/restore_with_env.yaml @@ -17,6 +17,8 @@ spec: value: minioadmin - name: AWS_SECRET_ACCESS_KEY value: minioadmin + - name: AWS_REGION + value: us-east-1 bucketConfig: bucketName: "$(BUCKET_NAME)" endpointURL: http://minio.default.svc:9000