-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(validation): add error messages for Helm release name validation
Added error messages for detecting empty or invalid Helm release names that do not conform to DNS-1035 label standards. feat(validation): implement Helm release name validation Added a new function 'ValidateReleaseName' to ensure that Helm release names conform to DNS-1035 label standards. Integrated this validation into the 'ZarfChart' struct's 'Validate' method to check release names and fallback mechanisms. test(validation): add unit tests for Helm release name validation Added tests to cover various scenarios, including valid release names, invalid names with periods, fallback to chart names, and missing names. Signed-off-by: jamestexas <[email protected]>
- Loading branch information
1 parent
05fdaef
commit 2658ff4
Showing
2 changed files
with
119 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters