1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 13:18:20 +00:00

Add dnsRecord type

This commit is contained in:
Darren Shepherd
2017-12-28 11:31:33 -07:00
parent 5b4b8b0b24
commit 5773f84304
6 changed files with 57 additions and 199 deletions

View File

@@ -29,6 +29,7 @@ func (n *NamespaceIDMapper) ModifySchema(schema *types.Schema, schemas *types.Sc
field.Type = "reference[namespace]"
field.Required = true
field.Update = false
schema.ResourceFields["namespace"] = field
n.Move = &mapper.Move{