Skip to content

Commit

Permalink
Merge pull request #3130 from gambol99/feature_gates
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

Kube Proxy Feature Gates

- fixing the [kubeproxy feature gates](#3078), this should have been a [map](https://github.com/kubernetes/kops/blob/master/pkg/apis/kops/v1alpha2/componentconfig.go#L134) not  an array ... apologizes!! from
  • Loading branch information
Kubernetes Submit Queue authored Aug 4, 2017
2 parents f123a95 + 2057f60 commit 0945283
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/kops/componentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ type KubeProxyConfig struct {
// Master is the address of the Kubernetes API server (overrides any value in kubeconfig)
Master string `json:"master,omitempty" flag:"master"`
// FeatureGates is a series of key pairs used to switch on features for the proxy
FeatureGates []string `json:"feature-gates" flag:"feature-gates"`
FeatureGates map[string]string `json:"featureGates" flag:"feature-gates"`
}

// KubeAPIServerConfig defines the configuration for the kube api
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/kops/v1alpha1/componentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ type KubeProxyConfig struct {
// Master is the address of the Kubernetes API server (overrides any value in kubeconfig)
Master string `json:"master,omitempty" flag:"master"`
// FeatureGates is a series of key pairs used to switch on features for the proxy
FeatureGates []string `json:"feature-gates" flag:"feature-gates"`
FeatureGates map[string]string `json:"featureGates" flag:"feature-gates"`
}

// KubeAPIServerConfig defines the configuration for the kube api
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/kops/v1alpha2/componentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ type KubeProxyConfig struct {
// Master is the address of the Kubernetes API server (overrides any value in kubeconfig)
Master string `json:"master,omitempty" flag:"master"`
// FeatureGates is a series of key pairs used to switch on features for the proxy
FeatureGates []string `json:"feature-gates" flag:"feature-gates"`
FeatureGates map[string]string `json:"featureGates" flag:"feature-gates"`
}

// KubeAPIServerConfig defines the configuration for the kube api
Expand Down

0 comments on commit 0945283

Please sign in to comment.