Enable validation using function config schema from KRMFunctionDefinition

This commit is contained in:
Katrina Verey
2022-02-09 16:46:56 -05:00
parent a5df6f7fd9
commit c90504a19d
10 changed files with 580 additions and 43 deletions

View File

@@ -33,7 +33,7 @@ func buildProcessor(value *string) framework.ResourceListProcessor {
}},
// This will be populated from the --value flag if provided,
// or the config file's `value` field if provided, with the latter taking precedence.
TemplateData: struct {
TemplateData: &struct {
Value *string `yaml:"value"`
}{Value: value}}
}