v1

latestOpenAPI 3.0.22026-07-175961673.3 KB
SplitHorizonDNSConfig

Create Split-Horizon DNS Config for PSMDB.

This API creates a new Split-Horizon DNS Config instance.

post/namespaces/{namespace}/engine-features/split-horizon-dns-configs

Path parameters

namespacestring required

Namespace of the Split-Horizon DNS Config instance.

Request body

apiVersionstring

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

kindstring

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadataobject

Example request

{
  "spec": {
    "baseDomainNameSuffix": "example.com",
    "tls": {
      "secretName": "my-tls-secret"
    }
  }
}

Response

Successful operation

apiVersionstring

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

kindstring

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

metadataobject

Example response

{
  "spec": {
    "baseDomainNameSuffix": "example.com",
    "tls": {
      "secretName": "my-tls-secret"
    }
  }
}