Skip to content

Commit

Permalink
Add AWS_REGION in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
takara9 committed May 31, 2024
1 parent e3d2074 commit 2a0ad86
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions e2e/testdata/backup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions e2e/testdata/backup_tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions e2e/testdata/backup_with_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions e2e/testdata/restore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions e2e/testdata/restore_tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions e2e/testdata/restore_with_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a0ad86

Please sign in to comment.