Last active
November 28, 2018 18:23
-
-
Save chrigl/754096d869ee84759bffd658a8cef4f3 to your computer and use it in GitHub Desktop.
Add spec to ProviderSpec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type OpenstackClusterProviderSpec struct { | |
metav1.TypeMeta `json:",inline"` | |
metav1.ObjectMeta `json:"metadata,omitempty"` | |
Spec ClusterSpec `json:"spec,omitempty"` | |
} | |
type ClusterSpec struct { | |
// NodeCIDR is the OpenStack Subnet to be created | |
NodeCIDR string `json:"nodeCidr,omitempty"` | |
// Floating IP which will be assigned to a created loadbalancer. If not provided, | |
// no loadbalancer will be created. | |
FloatingIP string `json:"floatingIP,omitempty"` | |
ExternalNetworkID string `json:"externalNetworkId"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g.
vs.