mirror of
https://github.com/rancher/types.git
synced 2025-09-24 19:39:13 +00:00
Fix nodeName for yaml too
This commit is contained in:
@@ -8,6 +8,8 @@ import (
|
||||
)
|
||||
|
||||
type NodeTemplate struct {
|
||||
types.Namespaced
|
||||
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
// Standard object’s metadata. More info:
|
||||
// https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata
|
||||
|
@@ -85,7 +85,7 @@ type RKESystemImages struct {
|
||||
|
||||
type RKEConfigNode struct {
|
||||
// Name of the host provisioned via docker machine
|
||||
NodeName string `yaml:"-" json:"nodeName,omitempty" norman:"type=reference[node]"`
|
||||
NodeName string `yaml:"nodeName,omitempty" json:"nodeName,omitempty" norman:"type=reference[node]"`
|
||||
// IP or FQDN that is fully resolvable and used for SSH communication
|
||||
Address string `yaml:"address" json:"address,omitempty"`
|
||||
// Optional - Internal address that will be used for components communication
|
||||
|
Reference in New Issue
Block a user