...
API to support Reachability for Kubernetes Cloud
Command to POST Connectivity Info
Code Block | ||
---|---|---|
| ||
{
“name” : “<name>”, // Must be unique across
“cloud-owner” : “<owner>”,
“cloud-region-id” : “<region>”,
“kubeconfig” : “<contents of Kubeconfig>”
“other-connectivity-list” : {
//Extendible list of name value pairs
“connectivity-record” : [
{
“connectivity-record-name” : “<name>”, // example: OVN
“FQDN-or-ip” : “<fqdn>”,
“ca-cert-to-verify-server” : “<contents of CA certificate to validate the OVN server>”,
“ssl-initiator” : “<true/false”>,
“user-name”: “<user name>”, //valid if ssl-initator is false
“password” : “<password>”, // valid if ssl-initiator is false
“private-key” : “<contents of private key in PEM>”, // valid if ssl-initiator is true
“cert-to-present” : “<contents of certificate to present to server>” , //valid if ssl-initiator is true
},
]
}
} |
|
Command to GET Connectivity Info
|
Command to DELETE Connectivity Info
|
Command to UPDATE/PUT Connectivity Info
|