...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: apiextensions.k8s.io/v1
16kind: CustomResourceDefinition
17metadata:
18 annotations:
19 cnrm.cloud.google.com/version: 1.106.0
20 creationTimestamp: null
21 labels:
22 cnrm.cloud.google.com/managed-by-kcc: "true"
23 cnrm.cloud.google.com/stability-level: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: datastreamprivateconnections.datastream.cnrm.cloud.google.com
27spec:
28 group: datastream.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: DatastreamPrivateConnection
33 plural: datastreamprivateconnections
34 shortNames:
35 - gcpdatastreamprivateconnection
36 - gcpdatastreamprivateconnections
37 singular: datastreamprivateconnection
38 scope: Namespaced
39 versions:
40 - additionalPrinterColumns:
41 - jsonPath: .metadata.creationTimestamp
42 name: Age
43 type: date
44 - description: When 'True', the most recent reconcile of the resource succeeded
45 jsonPath: .status.conditions[?(@.type=='Ready')].status
46 name: Ready
47 type: string
48 - description: The reason for the value in 'Ready'
49 jsonPath: .status.conditions[?(@.type=='Ready')].reason
50 name: Status
51 type: string
52 - description: The last transition time for the value in 'Status'
53 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
54 name: Status Age
55 type: date
56 name: v1alpha1
57 schema:
58 openAPIV3Schema:
59 properties:
60 apiVersion:
61 description: 'apiVersion defines the versioned schema of this representation
62 of an object. Servers should convert recognized schemas to the latest
63 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
64 type: string
65 kind:
66 description: 'kind is a string value representing the REST resource this
67 object represents. Servers may infer this from the endpoint the client
68 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
69 type: string
70 metadata:
71 type: object
72 spec:
73 properties:
74 displayName:
75 description: Immutable. Display name.
76 type: string
77 location:
78 description: Immutable. The name of the location this private connection
79 is located in.
80 type: string
81 projectRef:
82 description: The project that this resource belongs to.
83 oneOf:
84 - not:
85 required:
86 - external
87 required:
88 - name
89 - not:
90 anyOf:
91 - required:
92 - name
93 - required:
94 - namespace
95 required:
96 - external
97 properties:
98 external:
99 description: 'Allowed value: The `name` field of a `Project` resource.'
100 type: string
101 name:
102 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
103 type: string
104 namespace:
105 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
106 type: string
107 type: object
108 resourceID:
109 description: Immutable. Optional. The privateConnectionId of the resource.
110 Used for creation and acquisition. When unset, the value of `metadata.name`
111 is used as the default.
112 type: string
113 vpcPeeringConfig:
114 description: |-
115 Immutable. The VPC Peering configuration is used to create VPC peering
116 between Datastream and the consumer's VPC.
117 properties:
118 subnet:
119 description: Immutable. A free subnet for peering. (CIDR of /29).
120 type: string
121 vpc:
122 description: |-
123 Immutable. Fully qualified name of the VPC that Datastream will peer to.
124 Format: projects/{project}/global/{networks}/{name}.
125 type: string
126 required:
127 - subnet
128 - vpc
129 type: object
130 required:
131 - displayName
132 - location
133 - projectRef
134 - vpcPeeringConfig
135 type: object
136 status:
137 properties:
138 conditions:
139 description: Conditions represent the latest available observation
140 of the resource's current state.
141 items:
142 properties:
143 lastTransitionTime:
144 description: Last time the condition transitioned from one status
145 to another.
146 type: string
147 message:
148 description: Human-readable message indicating details about
149 last transition.
150 type: string
151 reason:
152 description: Unique, one-word, CamelCase reason for the condition's
153 last transition.
154 type: string
155 status:
156 description: Status is the status of the condition. Can be True,
157 False, Unknown.
158 type: string
159 type:
160 description: Type is the type of the condition.
161 type: string
162 type: object
163 type: array
164 error:
165 description: The PrivateConnection error in case of failure.
166 items:
167 properties:
168 details:
169 additionalProperties:
170 type: string
171 description: A list of messages that carry the error details.
172 type: object
173 message:
174 description: A message containing more information about the
175 error that occurred.
176 type: string
177 type: object
178 type: array
179 name:
180 description: The resource's name.
181 type: string
182 observedGeneration:
183 description: ObservedGeneration is the generation of the resource
184 that was most recently observed by the Config Connector controller.
185 If this is equal to metadata.generation, then that means that the
186 current reported status reflects the most recent desired state of
187 the resource.
188 type: integer
189 state:
190 description: State of the PrivateConnection.
191 type: string
192 type: object
193 required:
194 - spec
195 type: object
196 served: true
197 storage: true
198 subresources:
199 status: {}
200status:
201 acceptedNames:
202 kind: ""
203 plural: ""
204 conditions: []
205 storedVersions: []
View as plain text