From 0b006f25fe74b533ad4b032f156a0833baaa1280 Mon Sep 17 00:00:00 2001 From: odubajDT Date: Thu, 14 Sep 2023 09:46:05 +0200 Subject: [PATCH] regenerate crds Signed-off-by: odubajDT --- .../v1alpha1/zz_generated.deepcopy.go | 7 +- .../v1alpha2/zz_generated.deepcopy.go | 7 +- .../v1alpha3/zz_generated.deepcopy.go | 7 +- .../options/v1alpha1/zz_generated.deepcopy.go | 1 - ...fecycle.keptn.sh_keptntaskdefinitions.yaml | 68 ++++++++++++++----- 5 files changed, 62 insertions(+), 28 deletions(-) diff --git a/lifecycle-operator/apis/lifecycle/v1alpha1/zz_generated.deepcopy.go b/lifecycle-operator/apis/lifecycle/v1alpha1/zz_generated.deepcopy.go index 35d1501f720..19619665f30 100644 --- a/lifecycle-operator/apis/lifecycle/v1alpha1/zz_generated.deepcopy.go +++ b/lifecycle-operator/apis/lifecycle/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022. @@ -410,7 +409,8 @@ func (in *KeptnAppVersionStatus) DeepCopyInto(out *KeptnAppVersionStatus) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make(propagation.MapCarrier, len(*in)) for key, val := range *in { (*out)[key] = val @@ -1018,7 +1018,8 @@ func (in *KeptnWorkloadInstanceStatus) DeepCopyInto(out *KeptnWorkloadInstanceSt if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make(propagation.MapCarrier, len(*in)) for key, val := range *in { (*out)[key] = val diff --git a/lifecycle-operator/apis/lifecycle/v1alpha2/zz_generated.deepcopy.go b/lifecycle-operator/apis/lifecycle/v1alpha2/zz_generated.deepcopy.go index 3cb212387f7..636d2e941a8 100644 --- a/lifecycle-operator/apis/lifecycle/v1alpha2/zz_generated.deepcopy.go +++ b/lifecycle-operator/apis/lifecycle/v1alpha2/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022. @@ -410,7 +409,8 @@ func (in *KeptnAppVersionStatus) DeepCopyInto(out *KeptnAppVersionStatus) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make(propagation.MapCarrier, len(*in)) for key, val := range *in { (*out)[key] = val @@ -1019,7 +1019,8 @@ func (in *KeptnWorkloadInstanceStatus) DeepCopyInto(out *KeptnWorkloadInstanceSt if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make(propagation.MapCarrier, len(*in)) for key, val := range *in { (*out)[key] = val diff --git a/lifecycle-operator/apis/lifecycle/v1alpha3/zz_generated.deepcopy.go b/lifecycle-operator/apis/lifecycle/v1alpha3/zz_generated.deepcopy.go index 7dd637e57a1..71736eecb04 100644 --- a/lifecycle-operator/apis/lifecycle/v1alpha3/zz_generated.deepcopy.go +++ b/lifecycle-operator/apis/lifecycle/v1alpha3/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022. @@ -468,7 +467,8 @@ func (in *KeptnAppVersionStatus) DeepCopyInto(out *KeptnAppVersionStatus) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make(propagation.MapCarrier, len(*in)) for key, val := range *in { (*out)[key] = val @@ -1123,7 +1123,8 @@ func (in *KeptnWorkloadInstanceStatus) DeepCopyInto(out *KeptnWorkloadInstanceSt if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = make(propagation.MapCarrier, len(*in)) for key, val := range *in { (*out)[key] = val diff --git a/lifecycle-operator/apis/options/v1alpha1/zz_generated.deepcopy.go b/lifecycle-operator/apis/options/v1alpha1/zz_generated.deepcopy.go index 29dcf00dcd8..5b647241a3c 100644 --- a/lifecycle-operator/apis/options/v1alpha1/zz_generated.deepcopy.go +++ b/lifecycle-operator/apis/options/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022. diff --git a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptntaskdefinitions.yaml b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptntaskdefinitions.yaml index ed15b5a8009..188c53434eb 100644 --- a/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptntaskdefinitions.yaml +++ b/lifecycle-operator/config/crd/bases/lifecycle.keptn.sh_keptntaskdefinitions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: keptntaskdefinitions.lifecycle.keptn.sh spec: group: lifecycle.keptn.sh @@ -609,8 +609,6 @@ spec: type: integer grpc: description: GRPC specifies an action involving a GRPC port. - This is a beta field and requires enabling GRPCContainerProbe - feature gate. properties: port: description: Port number of the gRPC service. Number must @@ -812,8 +810,6 @@ spec: type: integer grpc: description: GRPC specifies an action involving a GRPC port. - This is a beta field and requires enabling GRPCContainerProbe - feature gate. properties: port: description: Port number of the gRPC service. Number must @@ -935,6 +931,26 @@ spec: format: int32 type: integer type: object + resizePolicy: + description: Resources resize policy for the container. + items: + description: ContainerResizePolicy represents resource resize + policy for the container. + properties: + resourceName: + description: 'Name of the resource to which this resource + resize policy applies. Supported values: cpu, memory.' + type: string + restartPolicy: + description: Restart policy to apply when specified resource + is resized. If not specified, it defaults to NotRequired. + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic resources: description: 'Compute Resources required by this container. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' @@ -981,9 +997,29 @@ spec: description: 'Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise - to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' + to an implementation-defined value. Requests cannot exceed + Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/' type: object type: object + restartPolicy: + description: 'RestartPolicy defines the restart behavior of individual + containers in a pod. This field may only be set for init containers, + and the only allowed value is "Always". For non-init containers + or when this field is not specified, the restart behavior is + defined by the Pod''s restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container + will have the following effect: this init container will be + continually restarted on exit until all regular containers have + terminated. Once all regular containers have completed, all + init containers with restartPolicy "Always" will be shut down. + This lifecycle differs from normal init containers and is often + referred to as a "sidecar" container. Although this init container + still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next + init container. Instead, the next init container starts immediately + after this init container is started, or after any startupProbe + has successfully completed.' + type: string securityContext: description: 'SecurityContext defines the security options the container should be run with. If set, the fields of SecurityContext @@ -1103,7 +1139,8 @@ spec: in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile - location. Must only be set if type is "Localhost". + location. Must be set if type is "Localhost". Must NOT + be set for any other type. type: string type: description: "type indicates which kind of seccomp profile @@ -1135,15 +1172,12 @@ spec: type: string hostProcess: description: HostProcess determines if a container should - be run as a 'Host Process' container. This field is - alpha-level and will only be honored by components that - enable the WindowsHostProcessContainers feature flag. - Setting this field without the feature flag will result - in errors when validating the Pod. All of a Pod's containers - must have the same effective HostProcess value (it is - not allowed to have a mix of HostProcess containers - and non-HostProcess containers). In addition, if HostProcess - is true then HostNetwork must also be set to true. + be run as a 'Host Process' container. All of a Pod's + containers must have the same effective HostProcess + value (it is not allowed to have a mix of HostProcess + containers and non-HostProcess containers). In addition, + if HostProcess is true then HostNetwork must also be + set to true. type: boolean runAsUserName: description: The UserName in Windows to run the entrypoint @@ -1189,8 +1223,6 @@ spec: type: integer grpc: description: GRPC specifies an action involving a GRPC port. - This is a beta field and requires enabling GRPCContainerProbe - feature gate. properties: port: description: Port number of the gRPC service. Number must