New ๐ŸŒŠ wave for @helm

Commit 3d26911c

3d26911cd881Merged

Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 1 file ยท ~1 modified

Description

fix: tune jsonschema for depends_on

Details

Commit
3d26911cd881
Parent
5731e920995f

pkg/release/dependencies.gomodifiedView file

@@ -22,9 +22,9 @@
2222 //
2323 //nolint:lll
2424 type DependsOnReference struct {
25- Name string `json:"name" jsonschema:"required,description=Uniqname (or just name if in same namespace) of dependency release"`
25+ Name string `json:"name" jsonschema:"description=Uniqname (or just name if in same namespace) of dependency release"`
2626 Tag string `json:"tag,omitempty" jsonschema:"description=All available releases with the tag will be applied as dependencies"`
27- Optional bool `json:"optional" jsonschema:"description=Whether the dependency is required to succeed or not,default=false"`
27+ Optional bool `json:"optional" jsonschema:"description=Whether the dependency is required to be present in plan,default=false"`
2828 }
2929
3030 // UnmarshalYAML is used to implement InterfaceUnmarshaler interface of github.com/goccy/go-yaml.