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:
parent
d8f41b6586
commit
4b20dedf05
@ -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"`
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user