Skip to content
Snippets Groups Projects
Commit 517c2aa3 authored by Lukas Malte Monnerjahn's avatar Lukas Malte Monnerjahn
Browse files

helm-unittest fix

neues Release von helm-unittest scheint die Chart.Version über das Ende des Tastcases hinaus bis zum Ende der Suite beizubehalten
parent ae902a92
No related branches found
No related tags found
No related merge requests found
......@@ -36,21 +36,21 @@ templates:
- templates/deployment.yaml
tests:
- it: should not fail on .Release.Namespace length less than 63 characters
asserts:
- notFailedTemplate: { }
- it: should fail on .Release.Namespace length longer than 63 characters
release:
namespace: test1234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678904567890
asserts:
- failedTemplate:
errorMessage: .Release.Namespace test1234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678904567890 ist zu lang (max. 63 Zeichen)
- it: should not fail on .Release.Namespace length less than 63 characters
- it: should not fail on .Chart.Name-.Chart.Version length less than 63 characters
asserts:
- notFailedTemplate: {}
- notFailedTemplate: { }
- it: should fail on .Chart.Name-.Chart.Version length longer than 63 characters
chart:
version: 1.0-test1234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678904567890
asserts:
- failedTemplate:
errorMessage: .Chart.Name-.Chart.Version intelliform-adapter-1.0-test1234567890123123456789012345678901234567890123456789012345678901234567890123456789012345678904567890 ist zu lang (max. 63 Zeichen)
- it: should not fail on .Chart.Name-.Chart.Version length less than 63 characters
asserts:
- notFailedTemplate: {}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment