
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
  creationTimestamp: null
  name: dnsrecords.ingress.operator.openshift.io
spec:
  group: ingress.operator.openshift.io
  names:
    kind: DNSRecord
    listKind: DNSRecordList
    plural: dnsrecords
    singular: dnsrecord
  scope: ""
  subresources:
    status: {}
  validation:
    openAPIV3Schema:
      description: DNSRecord represents a DNS record.
      properties:
        apiVersion:
          description: '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'
          type: string
        kind:
          description: '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'
          type: string
        metadata:
          type: object
        spec:
          properties:
            dnsName:
              description: The hostname of the DNS record
              type: string
            recordTTL:
              description: TTL for the record
              format: int64
              type: integer
            recordType:
              description: RecordType type of record, e.g. CNAME, A, SRV, TXT etc
              type: string
            targets:
              description: The targets the DNS record points to
              items:
                type: string
              type: array
          type: object
        status:
          properties:
            zones:
              items:
                properties:
                  conditions:
                    items:
                      properties:
                        lastTransitionTime:
                          format: date-time
                          type: string
                        message:
                          type: string
                        reason:
                          type: string
                        status:
                          type: string
                        type:
                          type: string
                      required:
                      - status
                      - type
                      type: object
                    type: array
                  dnsZone:
                    description: DNSZone is used to define a DNS hosted zone. A zone
                      can be identified by an ID or tags.
                    properties:
                      id:
                        description: "id is the identifier that can be used to find
                          the DNS hosted zone. \n 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]. \n [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"
                        type: string
                      tags:
                        additionalProperties:
                          type: string
                        description: "tags can be used to query the DNS hosted zone.
                          \n on AWS, resourcegroupstaggingapi [1] can be used to fetch
                          a zone using `Tags` as tag-filters, \n [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options"
                        type: object
                    type: object
                required:
                - dnsZone
                type: object
              type: array
          type: object
      type: object
  version: v1
  versions:
  - name: v1
    served: true
    storage: true
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []
