Skip to content

Commit 11b9d0c

Browse files
cloudstack: Add externalloadbalanceripaddress and enablecsi fields to KubernetesCluster struct
Exposes two fields for Kubernetes cluster configuration: - externalloadbalanceripaddress: external load balancer IP for HA clusters on Shared networks - enablecsi: enable CloudStack CSI for cluster storage management (alias for csienabled) The enablecsi field is added for consistency with the API parameter naming.
1 parent 358fe85 commit 11b9d0c

1 file changed

Lines changed: 52 additions & 50 deletions

File tree

‎cloudstack/KubernetesService.go‎

Lines changed: 52 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1830,56 +1830,58 @@ type ListKubernetesClustersResponse struct {
18301830
}
18311831

18321832
type KubernetesCluster struct {
1833-
Account string `json:"account"`
1834-
Associatednetworkname string `json:"associatednetworkname"`
1835-
Autoscalingenabled bool `json:"autoscalingenabled"`
1836-
Clustertype string `json:"clustertype"`
1837-
Cniconfigname string `json:"cniconfigname"`
1838-
Cniconfigurationid string `json:"cniconfigurationid"`
1839-
Consoleendpoint string `json:"consoleendpoint"`
1840-
Controlnodes int64 `json:"controlnodes"`
1841-
Controlofferingid string `json:"controlofferingid"`
1842-
Controlofferingname string `json:"controlofferingname"`
1843-
Cpunumber string `json:"cpunumber"`
1844-
Created string `json:"created"`
1845-
Csienabled bool `json:"csienabled"`
1846-
Description string `json:"description"`
1847-
Domain string `json:"domain"`
1848-
Domainid string `json:"domainid"`
1849-
Domainpath string `json:"domainpath"`
1850-
Endpoint string `json:"endpoint"`
1851-
Etcdips map[string]string `json:"etcdips"`
1852-
Etcdnodes int64 `json:"etcdnodes"`
1853-
Etcdofferingid string `json:"etcdofferingid"`
1854-
Etcdofferingname string `json:"etcdofferingname"`
1855-
Hasannotations bool `json:"hasannotations"`
1856-
Id string `json:"id"`
1857-
Ipaddress string `json:"ipaddress"`
1858-
Ipaddressid string `json:"ipaddressid"`
1859-
JobID string `json:"jobid"`
1860-
Jobstatus int `json:"jobstatus"`
1861-
Keypair string `json:"keypair"`
1862-
Kubernetesversionid string `json:"kubernetesversionid"`
1863-
Kubernetesversionname string `json:"kubernetesversionname"`
1864-
Masternodes int64 `json:"masternodes"`
1865-
Maxsize int64 `json:"maxsize"`
1866-
Memory string `json:"memory"`
1867-
Minsize int64 `json:"minsize"`
1868-
Name string `json:"name"`
1869-
Networkid string `json:"networkid"`
1870-
Project string `json:"project"`
1871-
Projectid string `json:"projectid"`
1872-
Serviceofferingid string `json:"serviceofferingid"`
1873-
Serviceofferingname string `json:"serviceofferingname"`
1874-
Size int64 `json:"size"`
1875-
State string `json:"state"`
1876-
Templateid string `json:"templateid"`
1877-
Templatename string `json:"templatename"`
1878-
Virtualmachines []*VirtualMachine `json:"virtualmachines"`
1879-
Workerofferingid string `json:"workerofferingid"`
1880-
Workerofferingname string `json:"workerofferingname"`
1881-
Zoneid string `json:"zoneid"`
1882-
Zonename string `json:"zonename"`
1833+
Account string `json:"account"`
1834+
Associatednetworkname string `json:"associatednetworkname"`
1835+
Autoscalingenabled bool `json:"autoscalingenabled"`
1836+
Clustertype string `json:"clustertype"`
1837+
Cniconfigname string `json:"cniconfigname"`
1838+
Cniconfigurationid string `json:"cniconfigurationid"`
1839+
Consoleendpoint string `json:"consoleendpoint"`
1840+
Controlnodes int64 `json:"controlnodes"`
1841+
Controlofferingid string `json:"controlofferingid"`
1842+
Controlofferingname string `json:"controlofferingname"`
1843+
Cpunumber string `json:"cpunumber"`
1844+
Created string `json:"created"`
1845+
Csienabled bool `json:"csienabled"`
1846+
Description string `json:"description"`
1847+
Enablecsi bool `json:"csienabled"`
1848+
Domain string `json:"domain"`
1849+
Domainid string `json:"domainid"`
1850+
Domainpath string `json:"domainpath"`
1851+
Endpoint string `json:"endpoint"`
1852+
Etcdips map[string]string `json:"etcdips"`
1853+
Externalloadbalanceripaddress string `json:"externalloadbalanceripaddress"`
1854+
Etcdnodes int64 `json:"etcdnodes"`
1855+
Etcdofferingid string `json:"etcdofferingid"`
1856+
Etcdofferingname string `json:"etcdofferingname"`
1857+
Hasannotations bool `json:"hasannotations"`
1858+
Id string `json:"id"`
1859+
Ipaddress string `json:"ipaddress"`
1860+
Ipaddressid string `json:"ipaddressid"`
1861+
JobID string `json:"jobid"`
1862+
Jobstatus int `json:"jobstatus"`
1863+
Keypair string `json:"keypair"`
1864+
Kubernetesversionid string `json:"kubernetesversionid"`
1865+
Kubernetesversionname string `json:"kubernetesversionname"`
1866+
Masternodes int64 `json:"masternodes"`
1867+
Maxsize int64 `json:"maxsize"`
1868+
Memory string `json:"memory"`
1869+
Minsize int64 `json:"minsize"`
1870+
Name string `json:"name"`
1871+
Networkid string `json:"networkid"`
1872+
Project string `json:"project"`
1873+
Projectid string `json:"projectid"`
1874+
Serviceofferingid string `json:"serviceofferingid"`
1875+
Serviceofferingname string `json:"serviceofferingname"`
1876+
Size int64 `json:"size"`
1877+
State string `json:"state"`
1878+
Templateid string `json:"templateid"`
1879+
Templatename string `json:"templatename"`
1880+
Virtualmachines []*VirtualMachine `json:"virtualmachines"`
1881+
Workerofferingid string `json:"workerofferingid"`
1882+
Workerofferingname string `json:"workerofferingname"`
1883+
Zoneid string `json:"zoneid"`
1884+
Zonename string `json:"zonename"`
18831885
}
18841886

18851887
type ListKubernetesSupportedVersionsParams struct {

0 commit comments

Comments
 (0)