...
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: stable
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: firestoreindexes.firestore.cnrm.cloud.google.com
27spec:
28 group: firestore.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: FirestoreIndex
33 plural: firestoreindexes
34 shortNames:
35 - gcpfirestoreindex
36 - gcpfirestoreindexes
37 singular: firestoreindex
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 collection:
75 description: Immutable. The collection being indexed.
76 type: string
77 database:
78 description: Immutable. The Firestore database id. Defaults to '"(default)"'.
79 type: string
80 fields:
81 description: |-
82 Immutable. The fields supported by this index. The last field entry is always for
83 the field path '__name__'. If, on creation, '__name__' was not
84 specified as the last field, it will be added automatically with the
85 same direction as that of the last field defined. If the final field
86 in a composite index is not directional, the '__name__' will be
87 ordered '"ASCENDING"' (unless explicitly specified otherwise).
88 items:
89 properties:
90 arrayConfig:
91 description: |-
92 Immutable. Indicates that this field supports operations on arrayValues. Only one of 'order' and 'arrayConfig' can
93 be specified. Possible values: ["CONTAINS"].
94 type: string
95 fieldPath:
96 description: Immutable. Name of the field.
97 type: string
98 order:
99 description: |-
100 Immutable. Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=.
101 Only one of 'order' and 'arrayConfig' can be specified. Possible values: ["ASCENDING", "DESCENDING"].
102 type: string
103 type: object
104 type: array
105 queryScope:
106 description: 'Immutable. The scope at which a query is run. Default
107 value: "COLLECTION" Possible values: ["COLLECTION", "COLLECTION_GROUP"].'
108 type: string
109 required:
110 - collection
111 - fields
112 type: object
113 status:
114 properties:
115 conditions:
116 description: Conditions represent the latest available observation
117 of the resource's current state.
118 items:
119 properties:
120 lastTransitionTime:
121 description: Last time the condition transitioned from one status
122 to another.
123 type: string
124 message:
125 description: Human-readable message indicating details about
126 last transition.
127 type: string
128 reason:
129 description: Unique, one-word, CamelCase reason for the condition's
130 last transition.
131 type: string
132 status:
133 description: Status is the status of the condition. Can be True,
134 False, Unknown.
135 type: string
136 type:
137 description: Type is the type of the condition.
138 type: string
139 type: object
140 type: array
141 name:
142 description: |-
143 A server defined name for this index. Format:
144 'projects/{{project}}/databases/{{database}}/collectionGroups/{{collection}}/indexes/{{server_generated_id}}'.
145 type: string
146 observedGeneration:
147 description: ObservedGeneration is the generation of the resource
148 that was most recently observed by the Config Connector controller.
149 If this is equal to metadata.generation, then that means that the
150 current reported status reflects the most recent desired state of
151 the resource.
152 type: integer
153 type: object
154 required:
155 - spec
156 type: object
157 served: true
158 storage: true
159 subresources:
160 status: {}
161status:
162 acceptedNames:
163 kind: ""
164 plural: ""
165 conditions: []
166 storedVersions: []
View as plain text