mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-04 08:57:04 +02:00
fix(common): Release v3.0.3 (#291)
Co-authored-by: Gabe Cook <gabe565@gmail.com>
This commit is contained in:
parent
a50630fa60
commit
425f4428ab
12 changed files with 164 additions and 33 deletions
22
charts/library/common-test/tests/chart/validations_test.yaml
Normal file
22
charts/library/common-test/tests/chart/validations_test.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/helm-unittest/helm-unittest/main/schema/helm-testsuite.json
|
||||
suite: Chart validations
|
||||
templates:
|
||||
- common.yaml
|
||||
tests:
|
||||
- it: advancedMounts invalid controller reference should fail
|
||||
set:
|
||||
persistence:
|
||||
data:
|
||||
type: configMap
|
||||
name: myConfigMap
|
||||
advancedMounts:
|
||||
test:
|
||||
main:
|
||||
- path: /data/config.yaml
|
||||
readOnly: false
|
||||
mountPropagation: HostToContainer
|
||||
subPath: config.yaml
|
||||
asserts:
|
||||
- failedTemplate:
|
||||
errorMessage: "No enabled controller found with this identifier. (persistence item: 'data', controller: 'test')"
|
Loading…
Add table
Add a link
Reference in a new issue