Add IsSet to SetterDefinition for kyaml release.

This commit is contained in:
Eyob Tefera
2020-10-17 00:46:30 +00:00
parent 1971816663
commit b1ea25e86a

View File

@@ -172,6 +172,9 @@ type SetterDefinition struct {
// live apply/preview. This field is added to the setter definition to record
// the package publisher's intent to make the setter required to be set.
Required bool `yaml:"required,omitempty"`
// IsSet indicates the specified field has been explicitly assigned.
IsSet bool `yaml:"isSet,omitempty"`
}
func (sd SetterDefinition) AddToFile(path string) error {