1
0
mirror of https://github.com/rancher/types.git synced 2025-07-31 04:49:37 +00:00

Don't allow update to role fields

This commit is contained in:
Darren Shepherd 2018-02-14 15:50:58 -07:00
parent d8f41b6586
commit 4b20dedf05

View File

@ -118,9 +118,9 @@ type CustomConfig struct {
}
type CommonNodeSpec struct {
Etcd bool `json:"etcd"`
ControlPlane bool `json:"controlPlane"`
Worker bool `json:"worker"`
Etcd bool `json:"etcd" norman:"noupdate"`
ControlPlane bool `json:"controlPlane" norman:"noupdate"`
Worker bool `json:"worker" norman:"noupdate"`
NodeTemplateName string `json:"nodeTemplateName,omitempty" norman:"type=reference[nodeTemplate],noupdate"`
}