1
0
mirror of https://github.com/rancher/types.git synced 2025-07-10 03:53:02 +00:00

Add configmap to project

This commit is contained in:
Darren Shepherd 2018-03-23 17:31:46 -07:00
parent 520a45fcc6
commit b1b1384724

View File

@ -27,6 +27,7 @@ var (
Schemas = factory.Schemas(&Version).
// volume before pod types. pod types uses volume things, so need to register mapper
Init(volumeTypes).
Init(configMapTypes).
Init(ingressTypes).
Init(secretTypes).
Init(serviceTypes).
@ -41,12 +42,11 @@ var (
Init(podTemplateSpecTypes).
Init(workloadTypes).
Init(appTypes).
Init(configMapTypes).
Init(namespaceComposeType)
)
func configMapTypes(schemas *types.Schemas) *types.Schemas {
return schemas.MustImport(&Version, v1.ConfigMap{})
return schemas.MustImport(&Version, v1.ConfigMap{}, projectOverride{})
}
type DeploymentConfig struct {