5555 spec :
5656 description : TypesenseClusterSpec defines the desired state of TypesenseCluster
5757 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
5876 adminApiKey :
5977 description : |-
6078 SecretReference represents a Secret Reference. It has enough information to retrieve secret
7896 type : integer
7997 corsDomains :
8098 type : string
99+ enableCors :
100+ default : false
101+ type : boolean
81102 image :
82103 type : string
83104 ingress :
@@ -101,6 +122,10 @@ spec:
101122 - host
102123 - ingressClassName
103124 type : object
125+ nodeSelector :
126+ additionalProperties :
127+ type : string
128+ type : object
104129 peeringPort :
105130 default : 8107
106131 exclusiveMinimum : true
@@ -115,6 +140,61 @@ spec:
115140 resetPeersOnError :
116141 default : true
117142 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
118198 scrapers :
119199 items :
120200 properties :
@@ -148,6 +228,44 @@ spec:
148228 required :
149229 - storageClassName
150230 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
151269 required :
152270 - image
153271 - storage
0 commit comments