From 0b301183cddcd9f2318bdbc8815bebd14f18cec2 Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Tue, 5 Dec 2017 13:22:01 -0700 Subject: [PATCH] add more fields --- apis/management.cattle.io/v3/cluster_types.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/apis/management.cattle.io/v3/cluster_types.go b/apis/management.cattle.io/v3/cluster_types.go index 6806c431..3f93eb6f 100644 --- a/apis/management.cattle.io/v3/cluster_types.go +++ b/apis/management.cattle.io/v3/cluster_types.go @@ -103,6 +103,24 @@ type GoogleKubernetesEngineConfig struct { Credential string `json:"credential,omitempty"` // Enable alpha feature EnableAlphaFeature bool `json:"enableAlphaFeature,omitempty"` + // Configuration for the HTTP (L7) load balancing controller addon + HTTPLoadBalancing bool `json:"httpLoadBalancing,omitempty"` + // Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods + HorizontalPodAutoscaling bool `json:"horizontalPodAutoscaling,omitempty"` + // Configuration for the Kubernetes Dashboard + KubernetesDashboard bool `json:"kubernetesDashboard,omitempty"` + // Configuration for NetworkPolicy + NetworkPolicyConfig bool `json:"networkPolicyConfig,omitempty"` + // The list of Google Compute Engine locations in which the cluster's nodes should be located + Locations []string `json:"locations,omitempty"` + // Image Type + ImageType string `json:"imageType,omitempty"` + // Network + Network string `json:"network,omitempty"` + // Sub Network + SubNetwork string `json:"subNetwork,omitempty"` + // Configuration for LegacyAbac + LegacyAbac bool `json:"legacyAbac,omitempty"` } type AzureKubernetesServiceConfig struct {