diff --git a/cmd/kops-controller/pkg/server/node_config.go b/cmd/kops-controller/pkg/server/node_config.go index 0ec76032e6..0139ede52a 100644 --- a/cmd/kops-controller/pkg/server/node_config.go +++ b/cmd/kops-controller/pkg/server/node_config.go @@ -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") diff --git a/pkg/apis/nodeup/bootstrap.go b/pkg/apis/nodeup/bootstrap.go index 7013ab1cc7..f8b085bca2 100644 --- a/pkg/apis/nodeup/bootstrap.go +++ b/pkg/apis/nodeup/bootstrap.go @@ -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"`