...
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: firebasedatabaseinstances.firebasedatabase.cnrm.cloud.google.com
27spec:
28 group: firebasedatabase.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: FirebaseDatabaseInstance
33 plural: firebasedatabaseinstances
34 shortNames:
35 - gcpfirebasedatabaseinstance
36 - gcpfirebasedatabaseinstances
37 singular: firebasedatabaseinstance
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 desiredState:
75 description: The intended database state.
76 type: string
77 projectRef:
78 description: The project that this resource belongs to.
79 oneOf:
80 - not:
81 required:
82 - external
83 required:
84 - name
85 - not:
86 anyOf:
87 - required:
88 - name
89 - required:
90 - namespace
91 required:
92 - external
93 properties:
94 external:
95 description: 'Allowed value: The `name` field of a `Project` resource.'
96 type: string
97 name:
98 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
99 type: string
100 namespace:
101 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
102 type: string
103 type: object
104 region:
105 description: |-
106 Immutable. A reference to the region where the Firebase Realtime database resides.
107 Check all [available regions](https://firebase.google.com/docs/projects/locations#rtdb-locations).
108 type: string
109 resourceID:
110 description: Immutable. Optional. The instanceId of the resource.
111 Used for creation and acquisition. When unset, the value of `metadata.name`
112 is used as the default.
113 type: string
114 type:
115 description: |-
116 Immutable. The database type.
117 Each project can create one default Firebase Realtime Database, which cannot be deleted once created.
118 Creating user Databases is only available for projects on the Blaze plan.
119 Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo. Default value: "USER_DATABASE" Possible values: ["DEFAULT_DATABASE", "USER_DATABASE"].
120 type: string
121 required:
122 - projectRef
123 - region
124 type: object
125 status:
126 properties:
127 conditions:
128 description: Conditions represent the latest available observation
129 of the resource's current state.
130 items:
131 properties:
132 lastTransitionTime:
133 description: Last time the condition transitioned from one status
134 to another.
135 type: string
136 message:
137 description: Human-readable message indicating details about
138 last transition.
139 type: string
140 reason:
141 description: Unique, one-word, CamelCase reason for the condition's
142 last transition.
143 type: string
144 status:
145 description: Status is the status of the condition. Can be True,
146 False, Unknown.
147 type: string
148 type:
149 description: Type is the type of the condition.
150 type: string
151 type: object
152 type: array
153 databaseUrl:
154 description: |-
155 The database URL in the form of https://{instance-id}.firebaseio.com for us-central1 instances
156 or https://{instance-id}.{region}.firebasedatabase.app in other regions.
157 type: string
158 name:
159 description: |-
160 The fully-qualified resource name of the Firebase Realtime Database, in the
161 format: projects/PROJECT_NUMBER/locations/REGION_IDENTIFIER/instances/INSTANCE_ID
162 PROJECT_NUMBER: The Firebase project's ['ProjectNumber'](https://firebase.google.com/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject.FIELDS.project_number)
163 Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510).
164 type: string
165 observedGeneration:
166 description: ObservedGeneration is the generation of the resource
167 that was most recently observed by the Config Connector controller.
168 If this is equal to metadata.generation, then that means that the
169 current reported status reflects the most recent desired state of
170 the resource.
171 type: integer
172 state:
173 description: The current database state. Set desired_state to :DISABLED
174 to disable the database and :ACTIVE to reenable the database.
175 type: string
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