--- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: controller-gen.kubebuilder.io/version: (unknown) name: dnsresponsepolicyrules.dns.cnrm.cloud.google.com spec: group: dns.cnrm.cloud.google.com names: kind: DNSResponsePolicyRule listKind: DNSResponsePolicyRuleList plural: dnsresponsepolicyrules singular: dnsresponsepolicyrule scope: Namespaced versions: - name: v1alpha1 schema: openAPIV3Schema: description: DNSResponsePolicyRule is the Schema for the dns API 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: behavior: description: Answer this query with a behavior rather than DNS data. Acceptable values are 'behaviorUnspecified', and 'bypassResponsePolicy'. type: string dnsName: description: The DNS name (wildcard or exact) to apply this rule to. Must be unique within the Response Policy Rule. type: string localData: description: |- Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name; in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed. properties: localDatas: description: All resource record sets for this selector, one per resource record type. The name must match the dns_name. items: properties: name: description: For example, www.example.com. type: string rrdatas: description: As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). items: type: string type: array ttl: description: |- Number of seconds that this ResourceRecordSet can be cached by resolvers. type: integer type: description: 'One of valid DNS resource types. Possible values: ["A", "AAAA", "CAA", "CNAME", "DNSKEY", "DS", "HTTPS", "IPSECVPNKEY", "MX", "NAPTR", "NS", "PTR", "SOA", "SPF", "SRV", "SSHFP", "SVCB", "TLSA", "TXT"].' type: string required: - name - type type: object type: array required: - localDatas type: object projectRef: description: The project that this resource belongs to. properties: external: description: The external name of the referenced resource type: string kind: description: Kind of the referent. type: string name: description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names' type: string namespace: description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/' type: string type: object resourceID: description: Immutable. Optional. The ruleName of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. type: string responsePolicy: description: Identifies the response policy addressed by this request. type: string required: - dnsName - projectRef - responsePolicy type: object status: properties: conditions: description: |- Conditions represent the latest available observations of the DNSResponsePolicyRule's current state. items: properties: lastTransitionTime: description: Last time the condition transitioned from one status to another. type: string message: description: Human-readable message indicating details about last transition. type: string reason: description: |- Unique, one-word, CamelCase reason for the condition's last transition. type: string status: description: Status is the status of the condition. Can be True, False, Unknown. type: string type: description: Type is the type of the condition. type: string type: object type: array observedGeneration: description: ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. type: integer type: object type: object served: true storage: true