55
55
spec :
56
56
description : TypesenseClusterSpec defines the desired state of TypesenseCluster
57
57
properties :
58
+ additionalServerConfiguration :
59
+ description : |-
60
+ LocalObjectReference contains enough information to let you locate the
61
+ referenced object inside the same namespace.
62
+ properties :
63
+ name :
64
+ default : " "
65
+ description : |-
66
+ Name of the referent.
67
+ This field is effectively required, but due to backwards compatibility is
68
+ allowed to be empty. Instances of this type with an empty value here are
69
+ almost certainly wrong.
70
+ TODO: Add other useful fields. apiVersion, kind, uid?
71
+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
72
+ TODO: Drop `kubebuilder:default` when controller-gen doesn't need it https://github.com/kubernetes-sigs/kubebuilder/issues/3896.
73
+ type : string
74
+ type : object
75
+ x-kubernetes-map-type : atomic
58
76
adminApiKey :
59
77
description : |-
60
78
SecretReference represents a Secret Reference. It has enough information to retrieve secret
78
96
type : integer
79
97
corsDomains :
80
98
type : string
99
+ enableCors :
100
+ default : false
101
+ type : boolean
81
102
image :
82
103
type : string
83
104
ingress :
@@ -101,6 +122,10 @@ spec:
101
122
- host
102
123
- ingressClassName
103
124
type : object
125
+ nodeSelector :
126
+ additionalProperties :
127
+ type : string
128
+ type : object
104
129
peeringPort :
105
130
default : 8107
106
131
exclusiveMinimum : true
@@ -115,6 +140,61 @@ spec:
115
140
resetPeersOnError :
116
141
default : true
117
142
type : boolean
143
+ resources :
144
+ description : ResourceRequirements describes the compute resource requirements.
145
+ properties :
146
+ claims :
147
+ description : |-
148
+ Claims lists the names of resources, defined in spec.resourceClaims,
149
+ that are used by this container.
150
+
151
+
152
+ This is an alpha field and requires enabling the
153
+ DynamicResourceAllocation feature gate.
154
+
155
+
156
+ This field is immutable. It can only be set for containers.
157
+ items :
158
+ description : ResourceClaim references one entry in PodSpec.ResourceClaims.
159
+ properties :
160
+ name :
161
+ description : |-
162
+ Name must match the name of one entry in pod.spec.resourceClaims of
163
+ the Pod where this field is used. It makes that resource available
164
+ inside a container.
165
+ type : string
166
+ required :
167
+ - name
168
+ type : object
169
+ type : array
170
+ x-kubernetes-list-map-keys :
171
+ - name
172
+ x-kubernetes-list-type : map
173
+ limits :
174
+ additionalProperties :
175
+ anyOf :
176
+ - type : integer
177
+ - type : string
178
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
179
+ x-kubernetes-int-or-string : true
180
+ description : |-
181
+ Limits describes the maximum amount of compute resources allowed.
182
+ More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
183
+ type : object
184
+ requests :
185
+ additionalProperties :
186
+ anyOf :
187
+ - type : integer
188
+ - type : string
189
+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
190
+ x-kubernetes-int-or-string : true
191
+ description : |-
192
+ Requests describes the minimum amount of compute resources required.
193
+ If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
194
+ otherwise to an implementation-defined value. Requests cannot exceed Limits.
195
+ More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
196
+ type : object
197
+ type : object
118
198
scrapers :
119
199
items :
120
200
properties :
@@ -148,6 +228,44 @@ spec:
148
228
required :
149
229
- storageClassName
150
230
type : object
231
+ tolerations :
232
+ items :
233
+ description : |-
234
+ The pod this Toleration is attached to tolerates any taint that matches
235
+ the triple <key,value,effect> using the matching operator <operator>.
236
+ properties :
237
+ effect :
238
+ description : |-
239
+ Effect indicates the taint effect to match. Empty means match all taint effects.
240
+ When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
241
+ type : string
242
+ key :
243
+ description : |-
244
+ Key is the taint key that the toleration applies to. Empty means match all taint keys.
245
+ If the key is empty, operator must be Exists; this combination means to match all values and all keys.
246
+ type : string
247
+ operator :
248
+ description : |-
249
+ Operator represents a key's relationship to the value.
250
+ Valid operators are Exists and Equal. Defaults to Equal.
251
+ Exists is equivalent to wildcard for value, so that a pod can
252
+ tolerate all taints of a particular category.
253
+ type : string
254
+ tolerationSeconds :
255
+ description : |-
256
+ TolerationSeconds represents the period of time the toleration (which must be
257
+ of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default,
258
+ it is not set, which means tolerate the taint forever (do not evict). Zero and
259
+ negative values will be treated as 0 (evict immediately) by the system.
260
+ format : int64
261
+ type : integer
262
+ value :
263
+ description : |-
264
+ Value is the taint value the toleration matches to.
265
+ If the operator is Exists, the value should be empty, otherwise just a regular string.
266
+ type : string
267
+ type : object
268
+ type : array
151
269
required :
152
270
- image
153
271
- storage
0 commit comments