Skip to content
This repository was archived by the owner on Oct 7, 2024. It is now read-only.

Commit dfdf5ab

Browse files
authored
Upgrade controller-gen version to avoid crashes (#287)
Resolves: #248 Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
1 parent 920cc06 commit dfdf5ab

File tree

6 files changed

+26
-19
lines changed

6 files changed

+26
-19
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.21 as builder
2+
FROM golang:1.22 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ endif
215215

216216
## Tool Versions
217217
KUSTOMIZE_VERSION ?= v3.8.7
218-
CONTROLLER_TOOLS_VERSION ?= v0.11.1
218+
CONTROLLER_TOOLS_VERSION ?= v0.14.0
219219

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

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundle/manifests/daemons.redhat.com_tangservers.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.11.1
5+
controller-gen.kubebuilder.io/version: v0.14.0
66
creationTimestamp: null
77
name: tangservers.daemons.redhat.com
88
spec:
@@ -53,14 +53,19 @@ spec:
5353
description: TangServer is the Schema for the tangservers API
5454
properties:
5555
apiVersion:
56-
description: 'APIVersion defines the versioned schema of this representation
57-
of an object. Servers should convert recognized schemas to the latest
58-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
56+
description: |-
57+
APIVersion defines the versioned schema of this representation of an object.
58+
Servers should convert recognized schemas to the latest internal value, and
59+
may reject unrecognized values.
60+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
5961
type: string
6062
kind:
61-
description: 'Kind is a string value representing the REST resource this
62-
object represents. Servers may infer this from the endpoint the client
63-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
63+
description: |-
64+
Kind is a string value representing the REST resource this object represents.
65+
Servers may infer this from the endpoint the client submits requests to.
66+
Cannot be updated.
67+
In CamelCase.
68+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
6469
type: string
6570
metadata:
6671
type: object

config/crd/bases/daemons.redhat.com_tangservers.yaml

Lines changed: 12 additions & 8 deletions
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.11.1
7-
creationTimestamp: null
6+
controller-gen.kubebuilder.io/version: v0.14.0
87
name: tangservers.daemons.redhat.com
98
spec:
109
group: daemons.redhat.com
@@ -54,14 +53,19 @@ spec:
5453
description: TangServer is the Schema for the tangservers API
5554
properties:
5655
apiVersion:
57-
description: 'APIVersion defines the versioned schema of this representation
58-
of an object. Servers should convert recognized schemas to the latest
59-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
56+
description: |-
57+
APIVersion defines the versioned schema of this representation of an object.
58+
Servers should convert recognized schemas to the latest internal value, and
59+
may reject unrecognized values.
60+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
6061
type: string
6162
kind:
62-
description: 'Kind is a string value representing the REST resource this
63-
object represents. Servers may infer this from the endpoint the client
64-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
63+
description: |-
64+
Kind is a string value representing the REST resource this object represents.
65+
Servers may infer this from the endpoint the client submits requests to.
66+
Cannot be updated.
67+
In CamelCase.
68+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
6569
type: string
6670
metadata:
6771
type: object

config/rbac/role.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apiVersion: rbac.authorization.k8s.io/v1
33
kind: ClusterRole
44
metadata:
5-
creationTimestamp: null
65
name: manager-role
76
rules:
87
- apiGroups:

0 commit comments

Comments
 (0)