allow add labels/annotations to generated resources

This commit is contained in:
Jingfang Liu
2018-10-19 15:11:29 -07:00
parent 8b09afdf3e
commit 0cb02f1448
10 changed files with 42 additions and 25 deletions

View File

@@ -65,8 +65,8 @@ type Kunstructured interface {
type KunstructuredFactory interface {
SliceFromBytes([]byte) ([]Kunstructured, error)
FromMap(m map[string]interface{}) Kunstructured
MakeConfigMap(args *types.ConfigMapArgs) (Kunstructured, error)
MakeSecret(args *types.SecretArgs) (Kunstructured, error)
MakeConfigMap(args *types.ConfigMapArgs, options *types.GeneratorOptions) (Kunstructured, error)
MakeSecret(args *types.SecretArgs, options *types.GeneratorOptions) (Kunstructured, error)
Set(fs fs.FileSystem, ldr Loader)
}