Skip to content

Commit 63de1f4

Browse files
K8SPSMDB-1483: Add GCS native test - gcs service account email&key (#2078)
* K8SPSMDB-1483: Add GCS native test - gcs service account email&key Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e18ae9b commit 63de1f4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+827
-42
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ pipeline {
396396
}
397397
}
398398
}
399-
withCredentials([file(credentialsId: 'cloud-secret-file', variable: 'CLOUD_SECRET_FILE')]) {
399+
withCredentials([file(credentialsId: 'cloud-secret-file-psmdb', variable: 'CLOUD_SECRET_FILE')]) {
400400
sh '''
401401
cp $CLOUD_SECRET_FILE e2e-tests/conf/cloud-secret.yml
402402
'''

deploy/backup-gcs.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: v1
2+
kind: Secret
3+
metadata:
4+
name: my-cluster-name-backup-gcs
5+
type: Opaque
6+
data:
7+
GCS_CLIENT_EMAIL: UkVQTEFDRS1XSVRILUdDU19DTElFTlRfRU1BSUw=
8+
GCS_PRIVATE_KEY: UkVQTEFDRS1XSVRILUdDU19QUklWQVRFX0tFWQ==

deploy/cr.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,11 +721,15 @@ spec:
721721
# insecureSkipTLSVerify: false
722722
# gcs:
723723
# type: gcs
724-
# s3:
724+
# gcs:
725725
# bucket: GCS-BACKUP-BUCKET-NAME-HERE
726726
# prefix: ""
727727
# credentialsSecret: my-cluster-name-backup-gcs
728728
# chunkSize: 10485760
729+
# retryer:
730+
# backoffInitial: 1
731+
# backoffMax: 30
732+
# backoffMultiplier: 2
729733
# minio:
730734
# type: s3
731735
# s3:

0 commit comments

Comments
 (0)