1
0
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:
Darren Shepherd
2018-02-14 22:27:27 -07:00
parent 3067b3945c
commit 1623cca1ee
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ import (
)
type NodeTemplate struct {
types.Namespaced
metav1.TypeMeta `json:",inline"`
// Standard objects metadata. More info:
// https://github.com/kubernetes/community/blob/master/contributors/devel/api-conventions.md#metadata

View File

@@ -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