mirror of https://github.com/kubernetes/kops.git
Remove unused field
This commit is contained in:
parent
b71ba1d566
commit
09259ad30f
|
|
@ -51,16 +51,6 @@ func (s *Server) getNodeConfig(ctx context.Context, req *nodeup.BootstrapRequest
|
|||
nodeConfig.ClusterFullConfig = string(b)
|
||||
}
|
||||
|
||||
{
|
||||
p := s.configBase.Join("instancegroup", instanceGroupName)
|
||||
|
||||
b, err := p.ReadFile()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error loading InstanceGroup %q: %v", p, err)
|
||||
}
|
||||
nodeConfig.InstanceGroupConfig = string(b)
|
||||
}
|
||||
|
||||
{
|
||||
p := s.configBase.Join("igconfig", "node", instanceGroupName, "auxconfig.yaml")
|
||||
|
||||
|
|
|
|||
|
|
@ -41,9 +41,6 @@ type BootstrapResponse struct {
|
|||
|
||||
// NodeConfig holds configuration needed to boot a node (without the kops state store)
|
||||
type NodeConfig struct {
|
||||
// InstanceGroupConfig holds the configuration for the node's instance group
|
||||
InstanceGroupConfig string `json:"instanceGroupConfig,omitempty"`
|
||||
|
||||
// ClusterFullConfig holds the configuration for the cluster
|
||||
ClusterFullConfig string `json:"clusterFullConfig,omitempty"`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue