diff --git a/kyaml/setters2/add.go b/kyaml/setters2/add.go index 5d3ccf279..e67c08d8e 100644 --- a/kyaml/setters2/add.go +++ b/kyaml/setters2/add.go @@ -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 {