mirror of
https://github.com/truenas/charts.git
synced 2026-05-16 14:12:59 +08:00
* Empty-Commit * temp commit * make sure that we use the pv * typo * add validation * typo * cleanup validation and add secret for smb * revert * add some tets * add more tests * add more tests * more tests * rename to share * rename * moar tests * clean * add some docs * fix name uniqueness and tests * make mountOptions validation a bit better * update docs
31 lines
763 B
YAML
31 lines
763 B
YAML
suite: pod ix-zfs-pvc volume test
|
|
templates:
|
|
- common.yaml
|
|
tests:
|
|
- it: should pass with pvc volume
|
|
set:
|
|
global:
|
|
ixChartContext:
|
|
storageClassName: ix-storage-class-releasename
|
|
workload:
|
|
workload-name1:
|
|
enabled: true
|
|
primary: true
|
|
type: Deployment
|
|
podSpec: {}
|
|
persistence:
|
|
pvc-vol:
|
|
enabled: true
|
|
type: ix-zfs-pvc
|
|
asserts:
|
|
- documentIndex: &deploymentDoc 1
|
|
isKind:
|
|
of: Deployment
|
|
- documentIndex: *deploymentDoc
|
|
contains:
|
|
path: spec.template.spec.volumes
|
|
content:
|
|
name: pvc-vol
|
|
persistentVolumeClaim:
|
|
claimName: release-name-common-test-pvc-vol
|