...
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: alloydbbackups.alloydb.cnrm.cloud.google.com
27spec:
28 group: alloydb.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: AlloyDBBackup
33 plural: alloydbbackups
34 shortNames:
35 - gcpalloydbbackup
36 - gcpalloydbbackups
37 singular: alloydbbackup
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 clusterName:
75 description: Immutable. The full resource name of the backup source
76 cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}).
77 type: string
78 description:
79 description: Immutable. User-provided description of the backup.
80 type: string
81 encryptionConfig:
82 description: EncryptionConfig describes the encryption config of a
83 cluster or a backup that is encrypted with a CMEK (customer-managed
84 encryption key).
85 properties:
86 kmsKeyName:
87 description: 'Immutable. The fully-qualified resource name of
88 the KMS key. Each Cloud KMS key is regionalized and has the
89 following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].'
90 type: string
91 type: object
92 location:
93 description: Immutable. The location where the alloydb backup should
94 reside.
95 type: string
96 projectRef:
97 description: The project that this resource belongs to.
98 oneOf:
99 - not:
100 required:
101 - external
102 required:
103 - name
104 - not:
105 anyOf:
106 - required:
107 - name
108 - required:
109 - namespace
110 required:
111 - external
112 properties:
113 external:
114 description: 'Allowed value: The `name` field of a `Project` 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 resourceID:
124 description: Immutable. Optional. The backupId of the resource. Used
125 for creation and acquisition. When unset, the value of `metadata.name`
126 is used as the default.
127 type: string
128 required:
129 - clusterName
130 - location
131 - projectRef
132 type: object
133 status:
134 properties:
135 conditions:
136 description: Conditions represent the latest available observation
137 of the resource's current state.
138 items:
139 properties:
140 lastTransitionTime:
141 description: Last time the condition transitioned from one status
142 to another.
143 type: string
144 message:
145 description: Human-readable message indicating details about
146 last transition.
147 type: string
148 reason:
149 description: Unique, one-word, CamelCase reason for the condition's
150 last transition.
151 type: string
152 status:
153 description: Status is the status of the condition. Can be True,
154 False, Unknown.
155 type: string
156 type:
157 description: Type is the type of the condition.
158 type: string
159 type: object
160 type: array
161 createTime:
162 description: Time the Backup was created in UTC.
163 type: string
164 encryptionInfo:
165 description: EncryptionInfo describes the encryption information of
166 a cluster or a backup.
167 items:
168 properties:
169 encryptionType:
170 description: Output only. Type of encryption.
171 type: string
172 kmsKeyVersions:
173 description: Output only. Cloud KMS key versions that are being
174 used to protect the database or the backup.
175 items:
176 type: string
177 type: array
178 type: object
179 type: array
180 etag:
181 description: A hash of the resource.
182 type: string
183 name:
184 description: 'Output only. The name of the backup resource with the
185 format: * projects/{project}/locations/{region}/backups/{backupId}.'
186 type: string
187 observedGeneration:
188 description: ObservedGeneration is the generation of the resource
189 that was most recently observed by the Config Connector controller.
190 If this is equal to metadata.generation, then that means that the
191 current reported status reflects the most recent desired state of
192 the resource.
193 type: integer
194 reconciling:
195 description: If true, indicates that the service is actively updating
196 the resource. This can happen due to user-triggered updates or system
197 actions like failover or maintenance.
198 type: boolean
199 state:
200 description: The current state of the backup.
201 type: string
202 uid:
203 description: Output only. The system-generated UID of the resource.
204 The UID is assigned when the resource is created, and it is retained
205 until it is deleted.
206 type: string
207 updateTime:
208 description: Time the Backup was updated in UTC.
209 type: string
210 type: object
211 required:
212 - spec
213 type: object
214 served: true
215 storage: true
216 subresources:
217 status: {}
218status:
219 acceptedNames:
220 kind: ""
221 plural: ""
222 conditions: []
223 storedVersions: []
View as plain text