...
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: stable
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: folders.resourcemanager.cnrm.cloud.google.com
27spec:
28 group: resourcemanager.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: Folder
33 plural: folders
34 shortNames:
35 - gcpfolder
36 - gcpfolders
37 singular: folder
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: v1beta1
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 oneOf:
74 - required:
75 - folderRef
76 - required:
77 - organizationRef
78 - not:
79 anyOf:
80 - required:
81 - folderRef
82 - required:
83 - organizationRef
84 properties:
85 displayName:
86 description: The folder's display name. A folder's display name must
87 be unique amongst its siblings, e.g. no two folders with the same
88 parent can share the same display name. The display name must start
89 and end with a letter or digit, may contain letters, digits, spaces,
90 hyphens and underscores and can be no longer than 30 characters.
91 type: string
92 folderRef:
93 description: |-
94 The folder that this resource belongs to. Changing this forces the
95 resource to be migrated to the newly specified folder. Only one of
96 folderRef or organizationRef may be specified.
97 oneOf:
98 - not:
99 required:
100 - external
101 required:
102 - name
103 - not:
104 anyOf:
105 - required:
106 - name
107 - required:
108 - namespace
109 required:
110 - external
111 properties:
112 external:
113 description: 'Allowed value: The `folderId` field of a `Folder`
114 resource.'
115 type: string
116 name:
117 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
118 type: string
119 namespace:
120 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
121 type: string
122 type: object
123 organizationRef:
124 description: |-
125 The organization that this resource belongs to. Changing this
126 forces the resource to be migrated to the newly specified
127 organization. Only one of folderRef or organizationRef may be
128 specified.
129 oneOf:
130 - not:
131 required:
132 - external
133 required:
134 - name
135 - not:
136 anyOf:
137 - required:
138 - name
139 - required:
140 - namespace
141 required:
142 - external
143 properties:
144 external:
145 description: 'Allowed value: The `name` field of an `Organization`
146 resource.'
147 type: string
148 name:
149 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
150 type: string
151 namespace:
152 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
153 type: string
154 type: object
155 resourceID:
156 description: Immutable. Optional. The service-generated name of the
157 resource. Used for acquisition only. Leave unset to create a new
158 resource.
159 type: string
160 required:
161 - displayName
162 type: object
163 status:
164 properties:
165 conditions:
166 description: Conditions represent the latest available observation
167 of the resource's current state.
168 items:
169 properties:
170 lastTransitionTime:
171 description: Last time the condition transitioned from one status
172 to another.
173 type: string
174 message:
175 description: Human-readable message indicating details about
176 last transition.
177 type: string
178 reason:
179 description: Unique, one-word, CamelCase reason for the condition's
180 last transition.
181 type: string
182 status:
183 description: Status is the status of the condition. Can be True,
184 False, Unknown.
185 type: string
186 type:
187 description: Type is the type of the condition.
188 type: string
189 type: object
190 type: array
191 createTime:
192 description: 'Timestamp when the Folder was created. Assigned by the
193 server. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds.
194 Example: "2014-10-02T15:01:23.045123456Z".'
195 type: string
196 folderId:
197 description: The folder id from the name "folders/{folder_id}".
198 type: string
199 lifecycleState:
200 description: The lifecycle state of the folder such as ACTIVE or DELETE_REQUESTED.
201 type: string
202 name:
203 description: The resource name of the Folder. Its format is folders/{folder_id}.
204 type: string
205 observedGeneration:
206 description: ObservedGeneration is the generation of the resource
207 that was most recently observed by the Config Connector controller.
208 If this is equal to metadata.generation, then that means that the
209 current reported status reflects the most recent desired state of
210 the resource.
211 type: integer
212 type: object
213 required:
214 - spec
215 type: object
216 served: true
217 storage: true
218 subresources:
219 status: {}
220status:
221 acceptedNames:
222 kind: ""
223 plural: ""
224 conditions: []
225 storedVersions: []
View as plain text