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