mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
14 lines
458 B
YAML
14 lines
458 B
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/helm-unittest/helm-unittest/main/schema/helm-testsuite.json
|
|
suite: Service validations
|
|
templates:
|
|
- common.yaml
|
|
tests:
|
|
- it: invalid controller reference should fail
|
|
set:
|
|
service:
|
|
main:
|
|
controller: other
|
|
asserts:
|
|
- failedTemplate:
|
|
errorMessage: "No enabled controller found with this identifier. (service: 'main', controller: 'other')"
|