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