v1

latestOpenAPI 3.0.22026-07-175961673.3 KB
SplitHorizonDNSConfig

Update Split-Horizon DNS Config instance.

This API updates the Split-Horizon DNS Config instance specified by the name.

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

Path parameters

namestring required

Name of the Split-Horizon DNS Config instance.

namespacestring required

Namespace of the SplitHorizonDNSConfig instance.

Request body

baseDomainNameSuffixstring

BaseDomainNameSuffix is the base domain name suffix for generating domain names for each Pod in ReplicaSet. It should be a valid domain name suffix.

Example request

{
  "baseDomainNameSuffix": "example.com"
}

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"
    }
  }
}