This commit is contained in:
Stavros kois
2024-04-30 13:42:20 +03:00
parent a159d9abb8
commit a2b2d0b798
3 changed files with 19 additions and 30 deletions

View File

@@ -10,9 +10,13 @@ tests:
- it: should pass with cnpg manualBackups backup created with labels and annotations
set:
credentials:
test:
type: azure
connectionString: some-connection-string
test: &test
type: s3
url: some-url
bucket: some-bucket
encrKey: some-encr-key
accessKey: some-access-key
secretKey: some-secret-key
label1: label1
label2: global_label2
label3: label3
@@ -107,11 +111,7 @@ tests:
- it: should pass with cnpg manualBackups backup created with namespace
set:
credentials:
test:
type: s3
url: some-url
secretKey: some-secret-key
accessKey: some-access-key
test: *test
cnpg:
my-pg:
enabled: true
@@ -136,11 +136,7 @@ tests:
- it: should pass with cnpg manualBackups backup created with object namespace from tpl
set:
credentials:
test:
type: s3
url: some-url
secretKey: some-secret-key
accessKey: some-access-key
test: *test
key: some-namespace
cnpg:
my-pg:
@@ -166,11 +162,7 @@ tests:
- it: should pass with cnpg manualBackups backup created with namespace from global with tpl
set:
credentials:
test:
type: se
url: some-url
secretKey: some-secret-key
accessKey: some-access-key
test: *test
key: global-namespace
global:
namespace: "{{ .Values.key }}"
@@ -197,11 +189,7 @@ tests:
- it: should pass with cnpg manualBackups backup created with namespace from root with tpl
set:
credentials:
test:
type: s3
url: some-url
secretKey: some-secret-key
accessKey: some-access-key
test: *test
key: local-namespace
namespace: "{{ .Values.key }}"
global:
@@ -229,11 +217,7 @@ tests:
- it: should pass with cnpg manualBackups backup created with namespace in TrueNAS SCALE
set:
credentials:
test:
type: s3
url: some-url
secretKey: some-secret-key
accessKey: some-access-key
test: *test
global:
ixChartContext:
iAmNotEmpty: true

View File

@@ -9,8 +9,11 @@ tests:
set:
credentials:
test:
type: azure
connectionString: some-connection-string
type: s3
encrKey: some-encr-key
accessKey: some-access-key
secretKey: some-secret-key
url: some-url
cnpg:
my-pg:
enabled: true

View File

@@ -11,6 +11,8 @@ tests:
test:
type: s3
url: some-url
encrKey: some-encr-key
bucket: some-bucket
secretKey: some-secret-key
accessKey: some-access-key
cnpg: