mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 03:39:14 -03:00
Delete library/common-test/tests/lists/veleroBackupStorageLocationList_test.yaml
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user