Skip to content

Commit 918a697

Browse files
authored
chore: bump operator builder tools versions (#626)
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
1 parent bcc5912 commit 918a697

12 files changed

+450
-340
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ CRDOC ?= $(LOCALBIN)/crdoc
204204

205205
## Tool Versions
206206
# renovate: datasource=github-tags depName=kubernetes-sigs/kustomize
207-
KUSTOMIZE_VERSION ?= v4.5.7
207+
KUSTOMIZE_VERSION ?= v5.4.1
208208
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
209-
CONTROLLER_TOOLS_VERSION ?= v0.10.0
209+
CONTROLLER_TOOLS_VERSION ?= v0.14.0
210210
CRDOC_VERSION ?= v0.6.2
211211

212212
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"

apis/core/v1alpha1/zz_generated.deepcopy.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/core/v1alpha2/zz_generated.deepcopy.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/core/v1alpha3/zz_generated.deepcopy.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/core/v1beta1/zz_generated.deepcopy.go

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/core.openfeature.dev_featureflagconfigurations.yaml

+175-158
Large diffs are not rendered by default.

config/crd/bases/core.openfeature.dev_featureflags.yaml

+12-8
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.10.0
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.14.0
87
name: featureflags.core.openfeature.dev
98
spec:
109
group: core.openfeature.dev
@@ -23,14 +22,19 @@ spec:
2322
description: FeatureFlag is the Schema for the featureflags API
2423
properties:
2524
apiVersion:
26-
description: 'APIVersion defines the versioned schema of this representation
27-
of an object. Servers should convert recognized schemas to the latest
28-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
25+
description: |-
26+
APIVersion defines the versioned schema of this representation of an object.
27+
Servers should convert recognized schemas to the latest internal value, and
28+
may reject unrecognized values.
29+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2930
type: string
3031
kind:
31-
description: 'Kind is a string value representing the REST resource this
32-
object represents. Servers may infer this from the endpoint the client
33-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32+
description: |-
33+
Kind is a string value representing the REST resource this object represents.
34+
Servers may infer this from the endpoint the client submits requests to.
35+
Cannot be updated.
36+
In CamelCase.
37+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3438
type: string
3539
metadata:
3640
type: object

config/crd/bases/core.openfeature.dev_featureflagsources.yaml

+69-49
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.10.0
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.14.0
87
name: featureflagsources.core.openfeature.dev
98
spec:
109
group: core.openfeature.dev
@@ -23,14 +22,19 @@ spec:
2322
description: FeatureFlagSource is the Schema for the FeatureFlagSources API
2423
properties:
2524
apiVersion:
26-
description: 'APIVersion defines the versioned schema of this representation
27-
of an object. Servers should convert recognized schemas to the latest
28-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
25+
description: |-
26+
APIVersion defines the versioned schema of this representation of an object.
27+
Servers should convert recognized schemas to the latest internal value, and
28+
may reject unrecognized values.
29+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2930
type: string
3031
kind:
31-
description: 'Kind is a string value representing the REST resource this
32-
object represents. Servers may infer this from the endpoint the client
33-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32+
description: |-
33+
Kind is a string value representing the REST resource this object represents.
34+
Servers may infer this from the endpoint the client submits requests to.
35+
Cannot be updated.
36+
In CamelCase.
37+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3438
type: string
3539
metadata:
3640
type: object
@@ -49,9 +53,9 @@ spec:
4953
environment variables applied to the sidecar, default FLAGD
5054
type: string
5155
envVars:
52-
description: EnvVars define the env vars to be applied to the sidecar,
53-
any env vars in FeatureFlag CRs are added at the lowest index, all
54-
values will have the EnvVarPrefix applied, default FLAGD
56+
description: |-
57+
EnvVars define the env vars to be applied to the sidecar, any env vars in FeatureFlag CRs
58+
are added at the lowest index, all values will have the EnvVarPrefix applied, default FLAGD
5559
items:
5660
description: EnvVar represents an environment variable present in
5761
a Container.
@@ -60,15 +64,16 @@ spec:
6064
description: Name of the environment variable. Must be a C_IDENTIFIER.
6165
type: string
6266
value:
63-
description: 'Variable references $(VAR_NAME) are expanded using
64-
the previously defined environment variables in the container
65-
and any service environment variables. If a variable cannot
66-
be resolved, the reference in the input string will be unchanged.
67-
Double $$ are reduced to a single $, which allows for escaping
68-
the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will produce the
69-
string literal "$(VAR_NAME)". Escaped references will never
70-
be expanded, regardless of whether the variable exists or
71-
not. Defaults to "".'
67+
description: |-
68+
Variable references $(VAR_NAME) are expanded
69+
using the previously defined environment variables in the container and
70+
any service environment variables. If a variable cannot be resolved,
71+
the reference in the input string will be unchanged. Double $$ are reduced
72+
to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e.
73+
"$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)".
74+
Escaped references will never be expanded, regardless of whether the variable
75+
exists or not.
76+
Defaults to "".
7277
type: string
7378
valueFrom:
7479
description: Source for the environment variable's value. Cannot
@@ -81,8 +86,10 @@ spec:
8186
description: The key to select.
8287
type: string
8388
name:
84-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
85-
TODO: Add other useful fields. apiVersion, kind, uid?'
89+
description: |-
90+
Name of the referent.
91+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
92+
TODO: Add other useful fields. apiVersion, kind, uid?
8693
type: string
8794
optional:
8895
description: Specify whether the ConfigMap or its key
@@ -93,10 +100,9 @@ spec:
93100
type: object
94101
x-kubernetes-map-type: atomic
95102
fieldRef:
96-
description: 'Selects a field of the pod: supports metadata.name,
97-
metadata.namespace, `metadata.labels[''<KEY>'']`, `metadata.annotations[''<KEY>'']`,
98-
spec.nodeName, spec.serviceAccountName, status.hostIP,
99-
status.podIP, status.podIPs.'
103+
description: |-
104+
Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['<KEY>']`, `metadata.annotations['<KEY>']`,
105+
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs.
100106
properties:
101107
apiVersion:
102108
description: Version of the schema the FieldPath is
@@ -111,10 +117,9 @@ spec:
111117
type: object
112118
x-kubernetes-map-type: atomic
113119
resourceFieldRef:
114-
description: 'Selects a resource of the container: only
115-
resources limits and requests (limits.cpu, limits.memory,
116-
limits.ephemeral-storage, requests.cpu, requests.memory
117-
and requests.ephemeral-storage) are currently supported.'
120+
description: |-
121+
Selects a resource of the container: only resources limits and requests
122+
(limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
118123
properties:
119124
containerName:
120125
description: 'Container name: required for volumes,
@@ -143,8 +148,10 @@ spec:
143148
be a valid secret key.
144149
type: string
145150
name:
146-
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
147-
TODO: Add other useful fields. apiVersion, kind, uid?'
151+
description: |-
152+
Name of the referent.
153+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
154+
TODO: Add other useful fields. apiVersion, kind, uid?
148155
type: string
149156
optional:
150157
description: Specify whether the Secret or its key must
@@ -188,18 +195,24 @@ spec:
188195
operator sidecar-cpu-* and sidecar-ram-* flags.
189196
properties:
190197
claims:
191-
description: "Claims lists the names of resources, defined in
192-
spec.resourceClaims, that are used by this container. \n This
193-
is an alpha field and requires enabling the DynamicResourceAllocation
194-
feature gate. \n This field is immutable. It can only be set
195-
for containers."
198+
description: |-
199+
Claims lists the names of resources, defined in spec.resourceClaims,
200+
that are used by this container.
201+
202+
203+
This is an alpha field and requires enabling the
204+
DynamicResourceAllocation feature gate.
205+
206+
207+
This field is immutable. It can only be set for containers.
196208
items:
197209
description: ResourceClaim references one entry in PodSpec.ResourceClaims.
198210
properties:
199211
name:
200-
description: Name must match the name of one entry in pod.spec.resourceClaims
201-
of the Pod where this field is used. It makes that resource
202-
available inside a container.
212+
description: |-
213+
Name must match the name of one entry in pod.spec.resourceClaims of
214+
the Pod where this field is used. It makes that resource available
215+
inside a container.
203216
type: string
204217
required:
205218
- name
@@ -215,8 +228,9 @@ spec:
215228
- type: string
216229
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
217230
x-kubernetes-int-or-string: true
218-
description: 'Limits describes the maximum amount of compute resources
219-
allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
231+
description: |-
232+
Limits describes the maximum amount of compute resources allowed.
233+
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
220234
type: object
221235
requests:
222236
additionalProperties:
@@ -225,16 +239,17 @@ spec:
225239
- type: string
226240
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
227241
x-kubernetes-int-or-string: true
228-
description: 'Requests describes the minimum amount of compute
229-
resources required. If Requests is omitted for a container,
230-
it defaults to Limits if that is explicitly specified, otherwise
231-
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/'
242+
description: |-
243+
Requests describes the minimum amount of compute resources required.
244+
If Requests is omitted for a container, it defaults to Limits if that is explicitly specified,
245+
otherwise to an implementation-defined value.
246+
More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
232247
type: object
233248
type: object
234249
rolloutOnChange:
235-
description: RolloutOnChange dictates whether annotated deployments
236-
will be restarted when configuration changes are detected in this
237-
CR, defaults to false
250+
description: |-
251+
RolloutOnChange dictates whether annotated deployments will be restarted when configuration changes are
252+
detected in this CR, defaults to false
238253
type: boolean
239254
socketPath:
240255
description: SocketPath defines the unix socket path to listen on
@@ -252,6 +267,11 @@ spec:
252267
description: HttpSyncBearerToken is a bearer token. Used by
253268
http(s) sync provider only
254269
type: string
270+
interval:
271+
description: Interval is a flag configuration interval in seconds
272+
used by http provider
273+
format: int32
274+
type: integer
255275
provider:
256276
description: Provider type - kubernetes, http(s), grpc(s) or
257277
file

0 commit comments

Comments
 (0)