Description

DNSRecord is a DNS record managed in the zones defined by dns.config.openshift.io/cluster .spec.publicZone and .spec.privateZone. Cluster admin manipulation of this resource is not supported. This resource is only for internal communication of OpenShift operators.

Type

object

Specification

Property Type Description

.apiVersion

string

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

.kind

string

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

.metadata

ObjectMeta meta/v1

Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

.spec

object

spec is the specification of the desired behavior of the dnsecord.

.status

object

status is the most recently observed status of the dnsRecord.

.spec
Description

spec is the specification of the desired behavior of the dnsecord.

Type

object

Required
  • dnsName

  • recordTTL

  • recordType

  • targets

Property Type Description

dnsName

string

dnsName is the hostname of the DNS record

recordTTL

integer

recordTTL is the record TTL in seconds. If zero, the default is 30.

recordType

string

recordType is the DNS record type. For example, "A" or "CNAME".

targets

array (string)

targets are record targets.

.status
Description

status is the most recently observed status of the dnsRecord.

Type

object

Property Type Description

zones

array

zones are the status of the record in each zone.

zones[]

object

DNSZoneStatus is the status of a record within a specific zone.

.status.zones
Description

zones are the status of the record in each zone.

Type

array

.status.zones[]
Description

DNSZoneStatus is the status of a record within a specific zone.

Type

object

Property Type Description

conditions

array

conditions are any conditions associated with the record in the zone. If publishing the record fails, the "Failed" condition will be set with a reason and message describing the cause of the failure.

conditions[]

object

DNSZoneCondition is just the standard condition fields.

dnsZone

object

dnsZone is the zone where the record is published.

.status.zones[].conditions
Description

conditions are any conditions associated with the record in the zone. If publishing the record fails, the "Failed" condition will be set with a reason and message describing the cause of the failure.

Type

array

.status.zones[].conditions[]
Description

DNSZoneCondition is just the standard condition fields.

Type

object

Required
  • status

  • type

Property Type Description

lastTransitionTime

string

message

string

reason

string

status

string

type

string

.status.zones[].dnsZone
Description

dnsZone is the zone where the record is published.

Type

object

Property Type Description

id

string

id is the identifier that can be used to find the DNS hosted zone. on AWS zone can be fetched using ID as id in [1] on Azure zone can be fetched using ID as a pre-determined name in [2], on GCP zone can be fetched using ID as a pre-determined name in [3]. [1]: https://docs.aws.amazon.com/cli/latest/reference/route53/get-hosted-zone.html#options [2]: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest#az-network-dns-zone-show [3]: https://cloud.google.com/dns/docs/reference/v1/managedZones/get

tags

object (string)

tags can be used to query the DNS hosted zone. on AWS, resourcegroupstaggingapi [1] can be used to fetch a zone using Tags as tag-filters, [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options