Support custom config for image transformer

This commit is contained in:
Yujun Zhang
2019-03-09 12:04:18 +08:00
parent 3e85c4589b
commit f311ba8d4f
4 changed files with 26 additions and 61 deletions

View File

@@ -34,7 +34,7 @@ type TransformerConfig struct {
CommonAnnotations fsSlice `json:"commonAnnotations,omitempty" yaml:"commonAnnotations,omitempty"`
NameReference nbrSlice `json:"nameReference,omitempty" yaml:"nameReference,omitempty"`
VarReference fsSlice `json:"varReference,omitempty" yaml:"varReference,omitempty"`
Images fsSlice `json:"image,omitempty" yaml:"image,omitempty"`
Images fsSlice `json:"images,omitempty" yaml:"images,omitempty"`
}
// MakeEmptyConfig returns an empty TransformerConfig object