1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 23:08:25 +00:00

Machine/RKE updates

This commit is contained in:
Darren Shepherd
2017-12-28 09:47:19 -07:00
parent cfe57e1282
commit 1123611749
2 changed files with 1 additions and 2 deletions

View File

@@ -92,7 +92,6 @@ type MachineCondition struct {
type MachineSpec struct {
NodeSpec v1.NodeSpec `json:"nodeSpec"`
DisplayName string `json:"displayName"`
ClusterName string `json:"clusterName" norman:"type=reference[cluster]"`
Roles []string `json:"roles"`
MachineTemplateName string `json:"machineTemplateName" norman:"type=reference[machineTemplate]"`

View File

@@ -23,7 +23,7 @@ type RancherKubernetesEngineConfig struct {
type RKEConfigNode struct {
// Name of the host provisioned via docker machine
MachineName string `yaml:"machine_name,omitempty" json:"machineName,omitempty"`
MachineName string `yaml:"machine_name,omitempty" json:"machineName,omitempty" norman:"type=reference[machine]"`
// 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