1
0
mirror of https://github.com/rancher/types.git synced 2025-09-19 00:46:53 +00:00

Drop machine token field

This commit is contained in:
Darren Shepherd
2018-01-18 22:07:13 -07:00
parent 1c614de229
commit b33be9f1a3

View File

@@ -168,6 +168,7 @@ func machineTypes(schemas *types.Schemas) *types.Schemas {
return schemas.
AddMapperForType(&Version, v3.MachineSpec{}, &m.Embed{Field: "nodeSpec"}).
AddMapperForType(&Version, v3.MachineStatus{},
&m.Drop{Field: "token"},
&m.Drop{Field: "rkeNode"},
&m.Drop{Field: "machineTemplateSpec"},
&m.Drop{Field: "machineDriverConfig"},