mirror of
https://github.com/rancher/types.git
synced 2025-09-15 14:29:27 +00:00
Don't allow update to role fields
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user