diff --git a/src/test/helm/xta_adapter_63_chars_test.yaml b/src/test/helm/xta_adapter_63_chars_test.yaml index 941883545d93772e6a349add7e60a8190e478629..dd9b5092d2f402a60f018280128266d24fded20c 100644 --- a/src/test/helm/xta_adapter_63_chars_test.yaml +++ b/src/test/helm/xta_adapter_63_chars_test.yaml @@ -36,21 +36,21 @@ templates: - templates/xta_adapter_cronjob.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 xta-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