Skip to content

Commit

Permalink
fix(deps): update module sigs.k8s.io/controller-tools to v0.14.0 (#7461)
Browse files Browse the repository at this point in the history
This updates module sigs.k8s.io/controller-tools to v0.14.0, regenerates CRDs, notice.txt and docs,
and does necessary associated refactorings:
* Refactoring to use corev1.VolumeResourceRequirements
* Refactoring to use k8s.io/utils/ptr
* Rewrite unsafeStringToBytes without deprecated reflect.StringHeader and reflect.SliceHeader
* Avoid using reflect.DeepEqual with errors
* Remove deprecated rand.Seed

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Thibault Richard <thb.krkr@gmail.com>
  • Loading branch information
renovate[bot] and thbkrkr authored Jan 26, 2024
1 parent 36dd56d commit 9f2bd7d
Show file tree
Hide file tree
Showing 78 changed files with 66,876 additions and 70,575 deletions.
425 changes: 376 additions & 49 deletions NOTICE.txt

Large diffs are not rendered by default.

9,724 changes: 4,680 additions & 5,044 deletions config/crds/v1/all-crds.yaml

Large diffs are not rendered by default.

22,914 changes: 10,956 additions & 11,958 deletions config/crds/v1/bases/agent.k8s.elastic.co_agents.yaml

Large diffs are not rendered by default.

15,037 changes: 7,450 additions & 7,587 deletions config/crds/v1/bases/apm.k8s.elastic.co_apmservers.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
controller-gen.kubebuilder.io/version: v0.14.0
name: elasticsearchautoscalers.autoscaling.k8s.elastic.co
spec:
group: autoscaling.k8s.elastic.co
Expand Down Expand Up @@ -38,14 +38,19 @@ spec:
resource in a Kubernetes cluster.
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -72,9 +77,9 @@ spec:
additionalProperties:
additionalProperties:
type: string
description: DeciderSettings allow the user to tweak autoscaling
deciders. The map data structure complies with the <key,value>
format expected by Elasticsearch.
description: |-
DeciderSettings allow the user to tweak autoscaling deciders.
The map data structure complies with the <key,value> format expected by Elasticsearch.
type: object
description: Deciders allow the user to override default settings
for autoscaling deciders.
Expand All @@ -84,16 +89,13 @@ spec:
specification.
type: string
resources:
description: AutoscalingResources model the limits, submitted
by the user, for the supported resources in an autoscaling
policy. Only the node count range is mandatory. For other
resources, a limit range is required only if the Elasticsearch
autoscaling capacity API returns a requirement for a given
resource. For example, the memory limit range is only required
if the autoscaling API response contains a memory requirement.
If there is no limit range for a resource, and if that resource
is not mandatory, then the resources in the NodeSets managed
by the autoscaling policy are left untouched.
description: |-
AutoscalingResources model the limits, submitted by the user, for the supported resources in an autoscaling policy.
Only the node count range is mandatory. For other resources, a limit range is required only
if the Elasticsearch autoscaling capacity API returns a requirement for a given resource.
For example, the memory limit range is only required if the autoscaling API response contains a memory requirement.
If there is no limit range for a resource, and if that resource is not mandatory, then the resources in the NodeSets
managed by the autoscaling policy are left untouched.
properties:
cpu:
description: QuantityRange models a resource limit range
Expand Down Expand Up @@ -236,9 +238,9 @@ spec:
description: Conditions holds the current service state of the autoscaling
controller.
items:
description: Condition represents Elasticsearch resource's condition.
**This API is in technical preview and may be changed or removed
in a future release.**
description: |-
Condition represents Elasticsearch resource's condition.
**This API is in technical preview and may be changed or removed in a future release.**
properties:
lastTransitionTime:
format: date-time
Expand Down Expand Up @@ -295,10 +297,9 @@ spec:
type: object
type: array
resources:
description: ResourcesSpecification holds the resource values
common to all the nodeSets managed by a same autoscaling policy.
Only the resources managed by the autoscaling controller are
saved in the Status.
description: |-
ResourcesSpecification holds the resource values common to all the nodeSets managed by a same autoscaling policy.
Only the resources managed by the autoscaling controller are saved in the Status.
properties:
limits:
additionalProperties:
Expand Down
Loading

0 comments on commit 9f2bd7d

Please sign in to comment.