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

@@ -111,7 +111,7 @@ func addConfigMap(
return err
}
// Validate by trying to create corev1.configmap.
_, err = kf.MakeConfigMap(cmArgs)
_, err = kf.MakeConfigMap(cmArgs, k.GeneratorOptions)
if err != nil {
return err
}