Skip to content

Commit e2f81af

Browse files
authored
K8SPSMDB-1224 add credentialsSecret to S3 configuration and apply storage secrets in run script (#1789)
* add credentialsSecret to S3 configuration and apply storage secrets in run script * remove minio-secret.yml from kubectl apply command in run script
1 parent 60e5e69 commit e2f81af

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

e2e-tests/pitr-sharded/conf/eks-some-name-rs0.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ spec:
1616
region: us-east-1
1717
bucket: operator-testing
1818
prefix: psmdb-pitr-demand-backup-eks-credentials
19+
credentialsSecret: aws-s3-secret
1920
pitr:
2021
enabled: false
2122
oplogSpanMin: 2

e2e-tests/pitr-sharded/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ main() {
8181
desc 'create secrets and start client'
8282
kubectl_bin apply \
8383
-f "$conf_dir/secrets.yml" \
84-
-f "$conf_dir/client.yml" \
85-
-f $conf_dir/minio-secret.yml
84+
-f "$conf_dir/client.yml"
85+
apply_s3_storage_secrets
8686

8787
desc 'create custom RuntimeClass'
8888
if version_gt "1.19" && [ $EKS -ne 1 ]; then

0 commit comments

Comments
 (0)