apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: name: cloudflarednsrecords.dns.cloudflare.com spec: group: dns.cloudflare.com names: categories: [] kind: CloudflareDNSRecord plural: cloudflarednsrecords shortNames: [] singular: cloudflarednsrecord scope: Namespaced versions: - additionalPrinterColumns: [] name: v1alpha1 schema: openAPIV3Schema: description: Auto-generated derived type for CloudflareDNSRecordSpec via `CustomResource` properties: spec: description: '[CustomResource] definition for a Cloudflare DNS record.' properties: comment: description: Arbitrary comment nullable: true type: string content: description: The content of the record such as an IP address or a service reference. oneOf: - required: - value - required: - service properties: service: properties: name: description: Service name type: string namespace: description: Namespace, default is the same namespace as the referent. nullable: true type: string required: - name type: object value: type: string type: object name: description: The name of the record (e.g example.com) type: string proxied: description: Whether the record is proxied by Cloudflare nullable: true type: boolean tags: description: Tags to apply to the record items: type: string nullable: true type: array ttl: description: TTL in seconds format: int64 nullable: true type: integer type: description: The type of the record (e.g A, CNAME, MX, TXT, SRV, LOC, SPF, NS). Defaults to A. enum: - A - AAAA - CNAME - MX - TXT - SRV - LOC - SPF - NS nullable: true type: string zone: description: The cloudflare zone ID to create the record in oneOf: - required: - name - required: - id properties: id: oneOf: - required: - value - required: - from properties: from: oneOf: - required: - configMap - required: - secret properties: configMap: description: Selects a key from a ConfigMap. properties: key: description: The key to select. type: string name: description: 'Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' type: string optional: description: Specify whether the ConfigMap or its key must be defined type: boolean required: - key - name type: object secret: description: SecretKeySelector selects a key of a Secret. properties: key: description: The key of the secret to select from. Must be a valid secret key. type: string name: description: 'Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' type: string optional: description: Specify whether the Secret or its key must be defined type: boolean required: - key - name type: object type: object value: type: string type: object name: oneOf: - required: - value - required: - from properties: from: oneOf: - required: - configMap - required: - secret properties: configMap: description: Selects a key from a ConfigMap. properties: key: description: The key to select. type: string name: description: 'Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' type: string optional: description: Specify whether the ConfigMap or its key must be defined type: boolean required: - key - name type: object secret: description: SecretKeySelector selects a key of a Secret. properties: key: description: The key of the secret to select from. Must be a valid secret key. type: string name: description: 'Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' type: string optional: description: Specify whether the Secret or its key must be defined type: boolean required: - key - name type: object type: object value: type: string type: object type: object required: - content - name - zone type: object status: description: Status of a Cloudflare DNS record. nullable: true properties: conditions: description: Status conditions items: description: Condition contains details for one aspect of the current state of this API Resource. properties: lastTransitionTime: description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. format: date-time type: string message: description: message is a human readable message indicating details about the transition. This may be an empty string. type: string observedGeneration: description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. format: int64 type: integer reason: description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. type: string status: description: status of the condition, one of True, False, Unknown. type: string type: description: type of condition in CamelCase or in foo.example.com/CamelCase. type: string required: - lastTransitionTime - message - reason - status - type type: object nullable: true type: array pending: description: Whether we are able to resolve the DNS record (false) or not (true). If no dns check is performed, this field will default to true. type: boolean record_id: description: The ID of the cloudflare record type: string zone_id: description: The zone ID of the record type: string required: - pending - record_id - zone_id type: object required: - spec title: CloudflareDNSRecord type: object served: true storage: true subresources: status: {}