23 lines
536 B
YAML
23 lines
536 B
YAML
|
suite: sextant.test for stable names
|
||
|
templates:
|
||
|
- serviceaccount.yaml
|
||
|
- statefulset.yaml
|
||
|
- service.yaml
|
||
|
release:
|
||
|
name: test
|
||
|
namespace: testns
|
||
|
tests:
|
||
|
- it: check for stable entity names (services, statefulsets, serviceaccounts)
|
||
|
asserts:
|
||
|
- matchSnapshot:
|
||
|
path: metadata.name
|
||
|
- it: check for stable PVC names
|
||
|
template: statefulset.yaml
|
||
|
set:
|
||
|
postgres:
|
||
|
persistence:
|
||
|
enabled: true
|
||
|
asserts:
|
||
|
- matchSnapshot:
|
||
|
path: spec.volumeClaimTemplates[0].metadata.name
|