blob: cd4007960bc95a437b911d7f385472a021af061e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
suite: test pv behavior
templates:
- pv.yaml
tests:
- it: 'should render "" (global case))'
values:
- ./values/persistence.yaml
set:
global.persistence.storageClass: "-"
asserts:
- isEmpty:
- it: 'should "" (override case)'
values:
- ./values/persistence.yaml
set:
global.persistence.storageClass: "global"
persistence.storageClassOverride: "-"
asserts:
- isEmpty:
- it: 'should "" (local case)'
values:
- ./values/persistence.yaml
set:
persistence.storageClass: "-"
asserts:
- isEmpty:
- it: 'should render "RELEASE-NAME-mariadb-galera-data" as storageClassname'
asserts:
- equal:
path: spec.storageClassName
value: "RELEASE-NAME-mariadb-galera-data"
|