Add Namespace to var definition to allow disambiguation

This commit is contained in:
Jerome Brette
2019-07-18 17:44:26 -05:00
parent d3f8c0d87f
commit 99eb08eb1e
3 changed files with 65 additions and 20 deletions

View File

@@ -54,6 +54,7 @@ type Target struct {
APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
gvk.Gvk `json:",inline,omitempty" yaml:",inline,omitempty"`
Name string `json:"name" yaml:"name"`
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
}
// FieldSelector contains the fieldPath to an object field.