...
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: pubsublitetopics.pubsublite.cnrm.cloud.google.com
27spec:
28 group: pubsublite.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: PubSubLiteTopic
33 plural: pubsublitetopics
34 shortNames:
35 - gcppubsublitetopic
36 - gcppubsublitetopics
37 singular: pubsublitetopic
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 partitionConfig:
75 description: The settings for this topic's partitions.
76 properties:
77 capacity:
78 description: The capacity configuration.
79 properties:
80 publishMibPerSec:
81 description: Subscribe throughput capacity per partition in
82 MiB/s. Must be >= 4 and <= 16.
83 type: integer
84 subscribeMibPerSec:
85 description: Publish throughput capacity per partition in
86 MiB/s. Must be >= 4 and <= 16.
87 type: integer
88 required:
89 - publishMibPerSec
90 - subscribeMibPerSec
91 type: object
92 count:
93 description: The number of partitions in the topic. Must be at
94 least 1.
95 type: integer
96 required:
97 - count
98 type: object
99 projectRef:
100 description: The project that this resource belongs to.
101 oneOf:
102 - not:
103 required:
104 - external
105 required:
106 - name
107 - not:
108 anyOf:
109 - required:
110 - name
111 - required:
112 - namespace
113 required:
114 - external
115 properties:
116 external:
117 description: 'Allowed value: The `name` field of a `Project` resource.'
118 type: string
119 name:
120 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
121 type: string
122 namespace:
123 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
124 type: string
125 type: object
126 region:
127 description: The region of the pubsub lite topic.
128 type: string
129 reservationConfig:
130 description: The settings for this topic's Reservation usage.
131 properties:
132 throughputReservation:
133 description: The Reservation to use for this topic's throughput
134 capacity.
135 type: string
136 type: object
137 resourceID:
138 description: Immutable. Optional. The name of the resource. Used for
139 creation and acquisition. When unset, the value of `metadata.name`
140 is used as the default.
141 type: string
142 retentionConfig:
143 description: The settings for a topic's message retention.
144 properties:
145 perPartitionBytes:
146 description: |-
147 The provisioned storage, in bytes, per partition. If the number of bytes stored
148 in any of the topic's partitions grows beyond this value, older messages will be
149 dropped to make room for newer ones, regardless of the value of period.
150 type: string
151 period:
152 description: |-
153 How long a published message is retained. If unset, messages will be retained as
154 long as the bytes retained for each partition is below perPartitionBytes. A
155 duration in seconds with up to nine fractional digits, terminated by 's'.
156 Example: "3.5s".
157 type: string
158 required:
159 - perPartitionBytes
160 type: object
161 zone:
162 description: The zone of the pubsub lite topic.
163 type: string
164 required:
165 - projectRef
166 - zone
167 type: object
168 status:
169 properties:
170 conditions:
171 description: Conditions represent the latest available observation
172 of the resource's current state.
173 items:
174 properties:
175 lastTransitionTime:
176 description: Last time the condition transitioned from one status
177 to another.
178 type: string
179 message:
180 description: Human-readable message indicating details about
181 last transition.
182 type: string
183 reason:
184 description: Unique, one-word, CamelCase reason for the condition's
185 last transition.
186 type: string
187 status:
188 description: Status is the status of the condition. Can be True,
189 False, Unknown.
190 type: string
191 type:
192 description: Type is the type of the condition.
193 type: string
194 type: object
195 type: array
196 observedGeneration:
197 description: ObservedGeneration is the generation of the resource
198 that was most recently observed by the Config Connector controller.
199 If this is equal to metadata.generation, then that means that the
200 current reported status reflects the most recent desired state of
201 the resource.
202 type: integer
203 type: object
204 required:
205 - spec
206 type: object
207 served: true
208 storage: true
209 subresources:
210 status: {}
211status:
212 acceptedNames:
213 kind: ""
214 plural: ""
215 conditions: []
216 storedVersions: []
View as plain text