Delete library/common-test/tests/lists/veleroBackupStorageLocationList_test.yaml

This commit is contained in:
Kjeld Schouten
2024-04-28 12:36:12 +02:00
committed by GitHub
parent 2ca36441b5
commit 30289605ee

View File

@@ -1,51 +0,0 @@
suite: velero backupStorageLocationList test
templates:
- common.yaml
release:
name: test-release-name
namespace: test-release-namespace
tests:
- it: should generate correct spec with aws provider and credential
set:
backupStorageLocationList:
- name: my-snap1
enabled: true
provider: aws
credential:
aws:
id: my-id
key: my-key
objectStorage:
bucket: my-bucket
asserts:
- documentIndex: &secretDoc 0
isKind:
of: Secret
- documentIndex: *secretDoc
isAPIVersion:
of: v1
- documentIndex: *secretDoc
equal:
path: stringData
value:
cloud: |-
[default]
aws_access_key_id=my-id
aws_secret_access_key=my-key
- documentIndex: &backStoreLocDoc 1
isKind:
of: BackupStorageLocation
- documentIndex: *backStoreLocDoc
isAPIVersion:
of: velero.io/v1
- documentIndex: *backStoreLocDoc
equal:
path: spec
value:
provider: velero.io/aws
credential:
name: bsl-test-release-name-common-test-my-snap1
key: cloud
accessMode: ReadWrite
objectStorage:
bucket: my-bucket