...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: dnsresponsepolicyrules.dns.cnrm.cloud.google.com
8spec:
9 group: dns.cnrm.cloud.google.com
10 names:
11 kind: DNSResponsePolicyRule
12 listKind: DNSResponsePolicyRuleList
13 plural: dnsresponsepolicyrules
14 singular: dnsresponsepolicyrule
15 scope: Namespaced
16 versions:
17 - name: v1alpha1
18 schema:
19 openAPIV3Schema:
20 description: DNSResponsePolicyRule is the Schema for the dns API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 behavior:
42 description: Answer this query with a behavior rather than DNS data.
43 Acceptable values are 'behaviorUnspecified', and 'bypassResponsePolicy'.
44 type: string
45 dnsName:
46 description: The DNS name (wildcard or exact) to apply this rule to.
47 Must be unique within the Response Policy Rule.
48 type: string
49 localData:
50 description: |-
51 Answer this query directly with DNS data. These ResourceRecordSets override any other DNS behavior for the matched name;
52 in particular they override private zones, the public internet, and GCP internal DNS. No SOA nor NS types are allowed.
53 properties:
54 localDatas:
55 description: All resource record sets for this selector, one per
56 resource record type. The name must match the dns_name.
57 items:
58 properties:
59 name:
60 description: For example, www.example.com.
61 type: string
62 rrdatas:
63 description: As defined in RFC 1035 (section 5) and RFC
64 1034 (section 3.6.1).
65 items:
66 type: string
67 type: array
68 ttl:
69 description: |-
70 Number of seconds that this ResourceRecordSet can be cached by
71 resolvers.
72 type: integer
73 type:
74 description: 'One of valid DNS resource types. Possible
75 values: ["A", "AAAA", "CAA", "CNAME", "DNSKEY", "DS",
76 "HTTPS", "IPSECVPNKEY", "MX", "NAPTR", "NS", "PTR", "SOA",
77 "SPF", "SRV", "SSHFP", "SVCB", "TLSA", "TXT"].'
78 type: string
79 required:
80 - name
81 - type
82 type: object
83 type: array
84 required:
85 - localDatas
86 type: object
87 projectRef:
88 description: The project that this resource belongs to.
89 properties:
90 external:
91 description: The external name of the referenced resource
92 type: string
93 kind:
94 description: Kind of the referent.
95 type: string
96 name:
97 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
98 type: string
99 namespace:
100 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
101 type: string
102 type: object
103 resourceID:
104 description: Immutable. Optional. The ruleName of the resource. Used
105 for creation and acquisition. When unset, the value of `metadata.name`
106 is used as the default.
107 type: string
108 responsePolicy:
109 description: Identifies the response policy addressed by this request.
110 type: string
111 required:
112 - dnsName
113 - projectRef
114 - responsePolicy
115 type: object
116 status:
117 properties:
118 conditions:
119 description: |-
120 Conditions represent the latest available observations of the
121 DNSResponsePolicyRule's current state.
122 items:
123 properties:
124 lastTransitionTime:
125 description: Last time the condition transitioned from one status
126 to another.
127 type: string
128 message:
129 description: Human-readable message indicating details about
130 last transition.
131 type: string
132 reason:
133 description: |-
134 Unique, one-word, CamelCase reason for the condition's last
135 transition.
136 type: string
137 status:
138 description: Status is the status of the condition. Can be True,
139 False, Unknown.
140 type: string
141 type:
142 description: Type is the type of the condition.
143 type: string
144 type: object
145 type: array
146 observedGeneration:
147 description: ObservedGeneration is the generation of the resource
148 that was most recently observed by the Config Connector controller.
149 If this is equal to metadata.generation, then that means that the
150 current reported status reflects the most recent desired state of
151 the resource.
152 type: integer
153 type: object
154 type: object
155 served: true
156 storage: true
View as plain text