mirror of
https://github.com/dhall-lang/dhall-kubernetes.git
synced 2024-09-17 10:27:08 +03:00
Add objectmeta
This commit is contained in:
parent
72bc31ef6e
commit
a57ac535a4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user