Put the two sets of configmap make codes sidebyside

This commit is contained in:
Jeffrey Regan
2018-07-19 18:11:13 -07:00
parent ff4a1c0b4f
commit 9576a81787
6 changed files with 127 additions and 124 deletions

View File

@@ -103,7 +103,7 @@ func addConfigMap(k *types.Kustomization, flagsAndArgs cMapFlagsAndArgs, fSys fs
return err
}
factory := configmapandsecret.NewConfigMapFactory(cmArgs, fSys)
factory := configmapandsecret.NewConfigMapFactory(cmArgs, fSys, nil)
// Validate by trying to create corev1.configmap.
_, _, err = factory.MakeUnstructAndGenerateName()