...
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/dcl2crd: "true"
23 cnrm.cloud.google.com/managed-by-kcc: "true"
24 cnrm.cloud.google.com/stability-level: stable
25 cnrm.cloud.google.com/system: "true"
26 name: filestorebackups.filestore.cnrm.cloud.google.com
27spec:
28 group: filestore.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: FilestoreBackup
33 plural: filestorebackups
34 shortNames:
35 - gcpfilestorebackup
36 - gcpfilestorebackups
37 singular: filestorebackup
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 properties:
74 description:
75 description: A description of the backup with 2048 characters or less.
76 Requests with longer descriptions will be rejected.
77 type: string
78 location:
79 description: Immutable. The location for the resource
80 type: string
81 projectRef:
82 description: Immutable. 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: |-
100 The project for the resource
101
102 Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
103 type: string
104 name:
105 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
106 type: string
107 namespace:
108 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
109 type: string
110 type: object
111 resourceID:
112 description: Immutable. Optional. The name of the resource. Used for
113 creation and acquisition. When unset, the value of `metadata.name`
114 is used as the default.
115 type: string
116 sourceFileShare:
117 description: Immutable. Name of the file share in the source Cloud
118 Filestore instance that the backup is created from.
119 type: string
120 sourceInstanceRef:
121 description: Immutable.
122 oneOf:
123 - not:
124 required:
125 - external
126 required:
127 - name
128 - not:
129 anyOf:
130 - required:
131 - name
132 - required:
133 - namespace
134 required:
135 - external
136 properties:
137 external:
138 description: |-
139 The resource name of the source Cloud Filestore instance, in the format projects/{project_number}/locations/{location_id}/instances/{instance_id}, used to create this backup.
140
141 Allowed value: The Google Cloud resource name of a `FilestoreInstance` resource (format: `projects/{{project}}/locations/{{location}}/instances/{{name}}`).
142 type: string
143 name:
144 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
145 type: string
146 namespace:
147 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
148 type: string
149 type: object
150 required:
151 - location
152 - projectRef
153 - sourceFileShare
154 - sourceInstanceRef
155 type: object
156 status:
157 properties:
158 capacityGb:
159 description: Output only. Capacity of the source file share when the
160 backup was created.
161 format: int64
162 type: integer
163 conditions:
164 description: Conditions represent the latest available observation
165 of the resource's current state.
166 items:
167 properties:
168 lastTransitionTime:
169 description: Last time the condition transitioned from one status
170 to another.
171 type: string
172 message:
173 description: Human-readable message indicating details about
174 last transition.
175 type: string
176 reason:
177 description: Unique, one-word, CamelCase reason for the condition's
178 last transition.
179 type: string
180 status:
181 description: Status is the status of the condition. Can be True,
182 False, Unknown.
183 type: string
184 type:
185 description: Type is the type of the condition.
186 type: string
187 type: object
188 type: array
189 createTime:
190 description: Output only. The time when the backup was created.
191 format: date-time
192 type: string
193 downloadBytes:
194 description: Output only. Amount of bytes that will be downloaded
195 if the backup is restored. This may be different than storage bytes,
196 since sequential backups of the same disk will share storage.
197 format: int64
198 type: integer
199 observedGeneration:
200 description: ObservedGeneration is the generation of the resource
201 that was most recently observed by the Config Connector controller.
202 If this is equal to metadata.generation, then that means that the
203 current reported status reflects the most recent desired state of
204 the resource.
205 type: integer
206 sourceInstanceTier:
207 description: 'Output only. The service tier of the source Cloud Filestore
208 instance that this backup is created from. Possible values: TIER_UNSPECIFIED,
209 STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD'
210 type: string
211 state:
212 description: 'Output only. The backup state. Possible values: STATE_UNSPECIFIED,
213 CREATING, READY, REPAIRING, DELETING, ERROR, RESTORING'
214 type: string
215 storageBytes:
216 description: Output only. The size of the storage used by the backup.
217 As backups share storage, this number is expected to change with
218 backup creation/deletion.
219 format: int64
220 type: integer
221 type: object
222 required:
223 - spec
224 type: object
225 served: true
226 storage: true
227 subresources:
228 status: {}
229status:
230 acceptedNames:
231 kind: ""
232 plural: ""
233 conditions: []
234 storedVersions: []
View as plain text