1
0
mirror of https://github.com/rancher/types.git synced 2025-09-12 13:03:45 +00:00

Add Windows prefer field to cluster

**Problem:**
We don't have a specific field for windows prefered cluster.
So UI has to guess the cluster support windows node or not.
This commit is contained in:
orangedeng
2019-06-21 16:29:19 +08:00
committed by Alena Prokharchyk
parent f277b4895a
commit fec9589dd3

View File

@@ -95,6 +95,7 @@ type ClusterSpecBase struct {
EnableNetworkPolicy *bool `json:"enableNetworkPolicy" norman:"default=false"`
EnableClusterAlerting bool `json:"enableClusterAlerting" norman:"default=false"`
EnableClusterMonitoring bool `json:"enableClusterMonitoring" norman:"default=false"`
WindowsPreferedCluster bool `json:"windowsPreferedCluster" norman:"noupdate"`
LocalClusterAuthEndpoint LocalClusterAuthEndpoint `json:"localClusterAuthEndpoint,omitempty"`
}