...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 cnrm.cloud.google.com/version: 0.0.0-dev
6 creationTimestamp: null
7 labels:
8 cnrm.cloud.google.com/managed-by-kcc: "true"
9 cnrm.cloud.google.com/stability-level: stable
10 cnrm.cloud.google.com/system: "true"
11 cnrm.cloud.google.com/tf2crd: "true"
12 name: dnspolicies.dns.cnrm.cloud.google.com
13spec:
14 group: dns.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: DNSPolicy
19 plural: dnspolicies
20 shortNames:
21 - gcpdnspolicy
22 - gcpdnspolicies
23 singular: dnspolicy
24 preserveUnknownFields: false
25 scope: Namespaced
26 versions:
27 - additionalPrinterColumns:
28 - jsonPath: .metadata.creationTimestamp
29 name: Age
30 type: date
31 - description: When 'True', the most recent reconcile of the resource succeeded
32 jsonPath: .status.conditions[?(@.type=='Ready')].status
33 name: Ready
34 type: string
35 - description: The reason for the value in 'Ready'
36 jsonPath: .status.conditions[?(@.type=='Ready')].reason
37 name: Status
38 type: string
39 - description: The last transition time for the value in 'Status'
40 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
41 name: Status Age
42 type: date
43 name: v1beta1
44 schema:
45 openAPIV3Schema:
46 properties:
47 apiVersion:
48 description: 'apiVersion defines the versioned schema of this representation
49 of an object. Servers should convert recognized schemas to the latest
50 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
51 type: string
52 kind:
53 description: 'kind is a string value representing the REST resource this
54 object represents. Servers may infer this from the endpoint the client
55 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
56 type: string
57 metadata:
58 type: object
59 spec:
60 properties:
61 alternativeNameServerConfig:
62 description: |-
63 Sets an alternative name server for the associated networks.
64 When specified, all DNS queries are forwarded to a name server that you choose.
65 Names such as .internal are not available when an alternative name server is specified.
66 properties:
67 targetNameServers:
68 description: |-
69 Sets an alternative name server for the associated networks. When specified,
70 all DNS queries are forwarded to a name server that you choose. Names such as .internal
71 are not available when an alternative name server is specified.
72 items:
73 properties:
74 forwardingPath:
75 description: |-
76 Forwarding path for this TargetNameServer. If unset or 'default' Cloud DNS will make forwarding
77 decision based on address ranges, i.e. RFC1918 addresses go to the VPC, Non-RFC1918 addresses go
78 to the Internet. When set to 'private', Cloud DNS will always send queries through VPC for this target Possible values: ["default", "private"].
79 type: string
80 ipv4Address:
81 description: IPv4 address to forward to.
82 type: string
83 required:
84 - ipv4Address
85 type: object
86 type: array
87 required:
88 - targetNameServers
89 type: object
90 description:
91 description: A textual description field. Defaults to 'Managed by
92 Config Connector'.
93 type: string
94 enableInboundForwarding:
95 description: |-
96 Allows networks bound to this policy to receive DNS queries sent
97 by VMs or applications over VPN connections. When enabled, a
98 virtual IP address will be allocated from each of the sub-networks
99 that are bound to this policy.
100 type: boolean
101 enableLogging:
102 description: |-
103 Controls whether logging is enabled for the networks bound to this policy.
104 Defaults to no logging if not set.
105 type: boolean
106 networks:
107 description: List of network names specifying networks to which this
108 policy is applied.
109 items:
110 properties:
111 networkRef:
112 description: VPC network to bind to.
113 oneOf:
114 - not:
115 required:
116 - external
117 required:
118 - name
119 - not:
120 anyOf:
121 - required:
122 - name
123 - required:
124 - namespace
125 required:
126 - external
127 properties:
128 external:
129 description: 'Allowed value: The `selfLink` field of a `ComputeNetwork`
130 resource.'
131 type: string
132 name:
133 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
134 type: string
135 namespace:
136 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
137 type: string
138 type: object
139 required:
140 - networkRef
141 type: object
142 type: array
143 resourceID:
144 description: Immutable. Optional. The name of the resource. Used for
145 creation and acquisition. When unset, the value of `metadata.name`
146 is used as the default.
147 type: string
148 type: object
149 status:
150 properties:
151 conditions:
152 description: Conditions represent the latest available observation
153 of the resource's current state.
154 items:
155 properties:
156 lastTransitionTime:
157 description: Last time the condition transitioned from one status
158 to another.
159 type: string
160 message:
161 description: Human-readable message indicating details about
162 last transition.
163 type: string
164 reason:
165 description: Unique, one-word, CamelCase reason for the condition's
166 last transition.
167 type: string
168 status:
169 description: Status is the status of the condition. Can be True,
170 False, Unknown.
171 type: string
172 type:
173 description: Type is the type of the condition.
174 type: string
175 type: object
176 type: array
177 observedGeneration:
178 description: ObservedGeneration is the generation of the resource
179 that was most recently observed by the Config Connector controller.
180 If this is equal to metadata.generation, then that means that the
181 current reported status reflects the most recent desired state of
182 the resource.
183 type: integer
184 type: object
185 type: object
186 served: true
187 storage: true
188 subresources:
189 status: {}
190status:
191 acceptedNames:
192 kind: ""
193 plural: ""
194 conditions: []
195 storedVersions: []
View as plain text