From 5be979cbb09ca8e9d5c8b1a1c7f6ecdbadd5794b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Levilain?= Date: Tue, 23 May 2023 18:47:01 +0200 Subject: [PATCH] chore: regenerate crds --- .../shulkermc.io_minecraftserverfleets.yaml | 44 +++++++++++++++++++ .../bases/shulkermc.io_minecraftservers.yaml | 41 +++++++++++++++++ .../crd/bases/shulkermc.io_proxyfleets.yaml | 41 +++++++++++++++++ .../v1alpha1/zz_generated.deepcopy.go | 14 ++++++ 4 files changed, 140 insertions(+) diff --git a/kube/resources/crd/bases/shulkermc.io_minecraftserverfleets.yaml b/kube/resources/crd/bases/shulkermc.io_minecraftserverfleets.yaml index be29f8f6..cdd3a05f 100644 --- a/kube/resources/crd/bases/shulkermc.io_minecraftserverfleets.yaml +++ b/kube/resources/crd/bases/shulkermc.io_minecraftserverfleets.yaml @@ -1426,6 +1426,50 @@ spec: serviceAccountName: description: Name of the ServiceAccount to use. type: string + tolerations: + description: Tolerations to be applied on created Pod. + items: + description: The pod this Toleration is attached to + tolerates any taint that matches the triple + using the matching operator . + properties: + effect: + description: Effect indicates the taint effect to + match. Empty means match all taint effects. When + specified, allowed values are NoSchedule, PreferNoSchedule + and NoExecute. + type: string + key: + description: Key is the taint key that the toleration + applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; + this combination means to match all values and + all keys. + type: string + operator: + description: Operator represents a key's relationship + to the value. Valid operators are Exists and Equal. + Defaults to Equal. Exists is equivalent to wildcard + for value, so that a pod can tolerate all taints + of a particular category. + type: string + tolerationSeconds: + description: TolerationSeconds represents the period + of time the toleration (which must be of effect + NoExecute, otherwise this field is ignored) tolerates + the taint. By default, it is not set, which means + tolerate the taint forever (do not evict). Zero + and negative values will be treated as 0 (evict + immediately) by the system. + format: int64 + type: integer + value: + description: Value is the taint value the toleration + matches to. If the operator is Exists, the value + should be empty, otherwise just a regular string. + type: string + type: object + type: array type: object tags: description: List of tags identifying this MinecraftServer. diff --git a/kube/resources/crd/bases/shulkermc.io_minecraftservers.yaml b/kube/resources/crd/bases/shulkermc.io_minecraftservers.yaml index 1f26c7b8..b9065483 100644 --- a/kube/resources/crd/bases/shulkermc.io_minecraftservers.yaml +++ b/kube/resources/crd/bases/shulkermc.io_minecraftservers.yaml @@ -1284,6 +1284,47 @@ spec: serviceAccountName: description: Name of the ServiceAccount to use. type: string + tolerations: + description: Tolerations to be applied on created Pod. + items: + description: The pod this Toleration is attached to tolerates + any taint that matches the triple using + the matching operator . + properties: + effect: + description: Effect indicates the taint effect to match. + Empty means match all taint effects. When specified, allowed + values are NoSchedule, PreferNoSchedule and NoExecute. + type: string + key: + description: Key is the taint key that the toleration applies + to. Empty means match all taint keys. If the key is empty, + operator must be Exists; this combination means to match + all values and all keys. + type: string + operator: + description: Operator represents a key's relationship to + the value. Valid operators are Exists and Equal. Defaults + to Equal. Exists is equivalent to wildcard for value, + so that a pod can tolerate all taints of a particular + category. + type: string + tolerationSeconds: + description: TolerationSeconds represents the period of + time the toleration (which must be of effect NoExecute, + otherwise this field is ignored) tolerates the taint. + By default, it is not set, which means tolerate the taint + forever (do not evict). Zero and negative values will + be treated as 0 (evict immediately) by the system. + format: int64 + type: integer + value: + description: Value is the taint value the toleration matches + to. If the operator is Exists, the value should be empty, + otherwise just a regular string. + type: string + type: object + type: array type: object tags: description: List of tags identifying this MinecraftServer. diff --git a/kube/resources/crd/bases/shulkermc.io_proxyfleets.yaml b/kube/resources/crd/bases/shulkermc.io_proxyfleets.yaml index 8b8f34d7..558bf44c 100644 --- a/kube/resources/crd/bases/shulkermc.io_proxyfleets.yaml +++ b/kube/resources/crd/bases/shulkermc.io_proxyfleets.yaml @@ -1235,6 +1235,47 @@ spec: serviceAccountName: description: Name of the ServiceAccount to use. type: string + tolerations: + description: Tolerations to be applied on created Pod. + items: + description: The pod this Toleration is attached to tolerates + any taint that matches the triple using + the matching operator . + properties: + effect: + description: Effect indicates the taint effect to match. + Empty means match all taint effects. When specified, allowed + values are NoSchedule, PreferNoSchedule and NoExecute. + type: string + key: + description: Key is the taint key that the toleration applies + to. Empty means match all taint keys. If the key is empty, + operator must be Exists; this combination means to match + all values and all keys. + type: string + operator: + description: Operator represents a key's relationship to + the value. Valid operators are Exists and Equal. Defaults + to Equal. Exists is equivalent to wildcard for value, + so that a pod can tolerate all taints of a particular + category. + type: string + tolerationSeconds: + description: TolerationSeconds represents the period of + time the toleration (which must be of effect NoExecute, + otherwise this field is ignored) tolerates the taint. + By default, it is not set, which means tolerate the taint + forever (do not evict). Zero and negative values will + be treated as 0 (evict immediately) by the system. + format: int64 + type: integer + value: + description: Value is the taint value the toleration matches + to. If the operator is Exists, the value should be empty, + otherwise just a regular string. + type: string + type: object + type: array type: object replicas: description: Number of Proxy replicas to create. diff --git a/packages/shulker-crds/v1alpha1/zz_generated.deepcopy.go b/packages/shulker-crds/v1alpha1/zz_generated.deepcopy.go index 67124faa..2a3f6c0f 100644 --- a/packages/shulker-crds/v1alpha1/zz_generated.deepcopy.go +++ b/packages/shulker-crds/v1alpha1/zz_generated.deepcopy.go @@ -368,6 +368,13 @@ func (in *MinecraftServerPodOverridesSpec) DeepCopyInto(out *MinecraftServerPodO *out = new(v1.Affinity) (*in).DeepCopyInto(*out) } + if in.Tolarations != nil { + in, out := &in.Tolarations, &out.Tolarations + *out = make([]v1.Toleration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinecraftServerPodOverridesSpec. @@ -575,6 +582,13 @@ func (in *ProxyFleetPodOverridesSpec) DeepCopyInto(out *ProxyFleetPodOverridesSp *out = new(v1.Affinity) (*in).DeepCopyInto(*out) } + if in.Tolarations != nil { + in, out := &in.Tolarations, &out.Tolarations + *out = make([]v1.Toleration, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyFleetPodOverridesSpec.