mirror of
https://github.com/rancher/types.git
synced 2025-06-27 22:16:48 +00:00
Changing options to use bool pointers
This commit is contained in:
parent
b792bfd0e8
commit
86a73e7cfc
@ -147,13 +147,13 @@ type GoogleKubernetesEngineConfig struct {
|
||||
// Enable alpha feature
|
||||
EnableAlphaFeature bool `json:"enableAlphaFeature,omitempty"`
|
||||
// Configuration for the HTTP (L7) load balancing controller addon
|
||||
DisableHTTPLoadBalancing bool `json:"disableHttpLoadBalancing,omitempty"`
|
||||
EnableHTTPLoadBalancing *bool `json:"enableHttpLoadBalancing,omitempty" norman:"default=true"`
|
||||
// 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
|
||||
DisableHorizontalPodAutoscaling bool `json:"disableHorizontalPodAutoscaling,omitempty"`
|
||||
EnableHorizontalPodAutoscaling *bool `json:"enableHorizontalPodAutoscaling,omitempty" norman:"default=true"`
|
||||
// Configuration for the Kubernetes Dashboard
|
||||
EnableKubernetesDashboard bool `json:"enableKubernetesDashboard,omitempty"`
|
||||
// Configuration for NetworkPolicy
|
||||
DisableNetworkPolicyConfig bool `json:"disableNetworkPolicyConfig,omitempty"`
|
||||
EnableNetworkPolicyConfig *bool `json:"enableNetworkPolicyConfig,omitempty" norman:"default=true"`
|
||||
// The list of Google Compute Engine locations in which the cluster's nodes should be located
|
||||
Locations []string `json:"locations,omitempty"`
|
||||
// Image Type
|
||||
@ -163,11 +163,10 @@ type GoogleKubernetesEngineConfig struct {
|
||||
// Sub Network
|
||||
SubNetwork string `json:"subNetwork,omitempty"`
|
||||
// Configuration for LegacyAbac
|
||||
EnableLegacyAbac bool `json:"enableLegacyAbac,omitempty"`
|
||||
NoStackdriverLogging bool `json:"noStackdriverLogging"`
|
||||
NoStackdriverMonitoring bool `json:"noStackdriverMonitoring"`
|
||||
NoNetworkPolicy bool `json:"noNetworkPolicy"`
|
||||
MaintenanceWindow string `json:"maintenanceWindow"`
|
||||
EnableLegacyAbac bool `json:"enableLegacyAbac,omitempty"`
|
||||
EnableStackdriverLogging *bool `json:"enableStackdriverLogging,omitempty" norman:"default=true"`
|
||||
EnableStackdriverMonitoring *bool `json:"enableStackdriverMonitoring,omitempty" norman:"default=true"`
|
||||
MaintenanceWindow string `json:"maintenanceWindow"`
|
||||
}
|
||||
|
||||
type AzureKubernetesServiceConfig struct {
|
||||
|
Loading…
Reference in New Issue
Block a user