Add objectmeta

This commit is contained in:
Alessandro Marrella 2019-12-12 13:21:46 +00:00
parent 72bc31ef6e
commit a57ac535a4
No known key found for this signature in database
GPG Key ID: A1550631FC3976D3

View File

@ -320,6 +320,7 @@ toDefinition crd =
Data.Map.fromList [
("apiVersion", (mkV1beta1JSONSchemaProps {v1beta1JSONSchemaPropsType = Just "string"}))
, ("kind", (mkV1beta1JSONSchemaProps {v1beta1JSONSchemaPropsType = Just "string"} ))
, ("metadata", mkV1beta1JSONSchemaProps {v1beta1JSONSchemaPropsType = Just "object", v1beta1JSONSchemaPropsRef = Just "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"} )
]
))
(v1beta1JSONSchemaPropsProperties schema)