...
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: computediskresourcepolicyattachments.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeDiskResourcePolicyAttachment
33 plural: computediskresourcepolicyattachments
34 shortNames:
35 - gcpcomputediskresourcepolicyattachment
36 - gcpcomputediskresourcepolicyattachments
37 singular: computediskresourcepolicyattachment
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 diskRef:
75 oneOf:
76 - not:
77 required:
78 - external
79 required:
80 - name
81 - not:
82 anyOf:
83 - required:
84 - name
85 - required:
86 - namespace
87 required:
88 - external
89 properties:
90 external:
91 description: 'Allowed value: The `name` field of a `ComputeDisk`
92 resource.'
93 type: string
94 name:
95 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
96 type: string
97 namespace:
98 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
99 type: string
100 type: object
101 projectRef:
102 description: The project that this resource belongs to.
103 oneOf:
104 - not:
105 required:
106 - external
107 required:
108 - name
109 - not:
110 anyOf:
111 - required:
112 - name
113 - required:
114 - namespace
115 required:
116 - external
117 properties:
118 external:
119 description: 'Allowed value: The `name` field of a `Project` resource.'
120 type: string
121 name:
122 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
123 type: string
124 namespace:
125 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
126 type: string
127 type: object
128 resourceID:
129 description: Immutable. Optional. The name of the resource. Used for
130 creation and acquisition. When unset, the value of `metadata.name`
131 is used as the default.
132 type: string
133 zone:
134 description: Immutable. A reference to the zone where the disk resides.
135 type: string
136 required:
137 - diskRef
138 - projectRef
139 - zone
140 type: object
141 status:
142 properties:
143 conditions:
144 description: Conditions represent the latest available observation
145 of the resource's current state.
146 items:
147 properties:
148 lastTransitionTime:
149 description: Last time the condition transitioned from one status
150 to another.
151 type: string
152 message:
153 description: Human-readable message indicating details about
154 last transition.
155 type: string
156 reason:
157 description: Unique, one-word, CamelCase reason for the condition's
158 last transition.
159 type: string
160 status:
161 description: Status is the status of the condition. Can be True,
162 False, Unknown.
163 type: string
164 type:
165 description: Type is the type of the condition.
166 type: string
167 type: object
168 type: array
169 observedGeneration:
170 description: ObservedGeneration is the generation of the resource
171 that was most recently observed by the Config Connector controller.
172 If this is equal to metadata.generation, then that means that the
173 current reported status reflects the most recent desired state of
174 the resource.
175 type: integer
176 type: object
177 required:
178 - spec
179 type: object
180 served: true
181 storage: true
182 subresources:
183 status: {}
184status:
185 acceptedNames:
186 kind: ""
187 plural: ""
188 conditions: []
189 storedVersions: []
View as plain text