-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
platform.go
56 lines (44 loc) · 2.27 KB
/
platform.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package openstack
// Platform stores all the global configuration that all
// machinesets use.
type Platform struct {
// Region specifies the OpenStack region where the cluster will be created.
// Deprecated: this value is not used by the installer.
Region string `json:"region"`
// DefaultMachinePlatform is the default configuration used when
// installing on OpenStack for machine pools which do not define their own
// platform configuration.
// +optional
DefaultMachinePlatform *MachinePool `json:"defaultMachinePlatform,omitempty"`
// Cloud is the name of OpenStack cloud to use from clouds.yaml.
Cloud string `json:"cloud"`
// ExternalNetwork is name of the external network in your OpenStack cluster.
ExternalNetwork string `json:"externalNetwork"`
// FlavorName is the name of the compute flavor to use for instances in this cluster.
FlavorName string `json:"computeFlavor"`
// LbFloatingIP is the IP address of an available floating IP in your OpenStack cluster
// to associate with the OpenShift load balancer.
LbFloatingIP string `json:"lbFloatingIP"`
// ExternalDNS holds the IP addresses of dns servers that will
// be added to the dns resolution of all instances in the cluster.
// +optional
ExternalDNS []string `json:"externalDNS"`
// TrunkSupport holds a `0` or `1` value that indicates whether or not to use trunk ports
// in your OpenShift cluster.
TrunkSupport string `json:"trunkSupport"`
// OctaviaSupport holds a `0` or `1` value that indicates whether your OpenStack
// cluster supports Octavia Loadbalancing.
OctaviaSupport string `json:"octaviaSupport"`
// ClusterOSImage is either a URL with `http(s)` or `file` scheme to override
// the default OS image for cluster nodes, or an existing Glance image name.
// +optional
ClusterOSImage string `json:"clusterOSImage,omitempty"`
// APIVIP is the static IP on the nodes subnet that the api port for openshift will be assigned
// Default: will be set to the 5 on the first entry in the machineNetwork CIDR
// +optional
APIVIP string `json:"apiVIP,omitempty"`
// IngressVIP is the static IP on the nodes subnet that the apps port for openshift will be assigned
// Default: will be set to the 7 on the first entry in the machineNewtwork CIDR
// +optional
IngressVIP string `json:"ingressVIP,omitempty"`
}