Skip to content

Commit 7d8cacb

Browse files
author
Lucas Yoon
committed
Updating go version to 1.24
Signed-off-by: Lucas Yoon <lyoon@lyoon-thinkpadp1gen7.boston.csb>
1 parent ad2b401 commit 7d8cacb

File tree

9 files changed

+156
-146
lines changed

9 files changed

+156
-146
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515

1616
# Build the manager binary
17-
FROM registry.access.redhat.com/ubi9/go-toolset:1.22.9@sha256:e4193e71ea9f2e2504f6b4ee93cadef0fe5d7b37bba57484f4d4229801a7c063 as builder
17+
FROM registry.access.redhat.com/ubi9/go-toolset:1.24.4-1754467841@sha256:3f552f246b4bd5bdfb4da0812085d381d00d3625769baecaed58c2667d344e5c as builder
1818
ARG TARGETARCH=amd64
1919
USER root
2020

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<div id="header">
55

6-
[![Go 1.22](https://img.shields.io/badge/1.22-blue?logo=go&labelColor=gray)](https://go.dev/doc/go1.22)
6+
[![Go 1.24](https://img.shields.io/badge/1.24-blue?logo=go&labelColor=gray)](https://go.dev/doc/go1.24)
77
[![Apache2.0 License](https://img.shields.io/badge/license-Apache2.0-brightgreen.svg)](LICENSE)
88
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8256/badge)](https://www.bestpractices.dev/projects/8256)
99
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/devfile/registry-operator/badge)](https://securityscorecards.dev/viewer/?uri=github.com/devfile/registry-operator)
@@ -47,7 +47,7 @@ security setups.
4747

4848
### Development
4949

50-
- Go 1.22.x
50+
- Go 1.24.x
5151
- Docker / Podman
5252
- Operator SDK 1.28.x
5353

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.

config/crd/bases/registry.devfile.io_clusterdevfileregistrieslists.yaml

Lines changed: 45 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ kind: CustomResourceDefinition
44
metadata:
55
annotations:
66
controller-gen.kubebuilder.io/version: v0.14.0
7-
creationTimestamp: null
87
name: clusterdevfileregistrieslists.registry.devfile.io
98
spec:
109
group: registry.devfile.io
@@ -23,21 +22,25 @@ spec:
2322
name: v1alpha1
2423
schema:
2524
openAPIV3Schema:
26-
description: ClusterDevfileRegistriesList is a custom resource where cluster
27-
admins can add a list of Devfile Registries to allow devfiles to be visible
28-
at the cluster level. In order to be added to the list, the Devfile Registries
29-
must be reachable, supports the Devfile v2.0 spec and above, and is not
30-
using the default namespace.
25+
description: |-
26+
ClusterDevfileRegistriesList is a custom resource where cluster admins can add a list of Devfile Registries to allow devfiles to be visible
27+
at the cluster level. In order to be added to the list, the Devfile Registries must be reachable, supports the Devfile v2.0 spec and above,
28+
and is not using the default namespace.
3129
properties:
3230
apiVersion:
33-
description: 'APIVersion defines the versioned schema of this representation
34-
of an object. Servers should convert recognized schemas to the latest
35-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
31+
description: |-
32+
APIVersion defines the versioned schema of this representation of an object.
33+
Servers should convert recognized schemas to the latest internal value, and
34+
may reject unrecognized values.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3636
type: string
3737
kind:
38-
description: 'Kind is a string value representing the REST resource this
39-
object represents. Servers may infer this from the endpoint the client
40-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
38+
description: |-
39+
Kind is a string value representing the REST resource this object represents.
40+
Servers may infer this from the endpoint the client submits requests to.
41+
Cannot be updated.
42+
In CamelCase.
43+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
4144
type: string
4245
metadata:
4346
type: object
@@ -76,42 +79,42 @@ spec:
7679
here
7780
items:
7881
description: "Condition contains details for one aspect of the current
79-
state of this API Resource. --- This struct is intended for direct
80-
use as an array at the field path .status.conditions. For example,
81-
\n type FooStatus struct{ // Represents the observations of a
82-
foo's current state. // Known .status.conditions.type are: \"Available\",
83-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
84-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
85-
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
86-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
82+
state of this API Resource.\n---\nThis struct is intended for
83+
direct use as an array at the field path .status.conditions. For
84+
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
85+
observations of a foo's current state.\n\t // Known .status.conditions.type
86+
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
87+
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
88+
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
89+
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
90+
\ // other fields\n\t}"
8791
properties:
8892
lastTransitionTime:
89-
description: lastTransitionTime is the last time the condition
90-
transitioned from one status to another. This should be when
91-
the underlying condition changed. If that is not known, then
92-
using the time when the API field changed is acceptable.
93+
description: |-
94+
lastTransitionTime is the last time the condition transitioned from one status to another.
95+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
9396
format: date-time
9497
type: string
9598
message:
96-
description: message is a human readable message indicating
97-
details about the transition. This may be an empty string.
99+
description: |-
100+
message is a human readable message indicating details about the transition.
101+
This may be an empty string.
98102
maxLength: 32768
99103
type: string
100104
observedGeneration:
101-
description: observedGeneration represents the .metadata.generation
102-
that the condition was set based upon. For instance, if .metadata.generation
103-
is currently 12, but the .status.conditions[x].observedGeneration
104-
is 9, the condition is out of date with respect to the current
105-
state of the instance.
105+
description: |-
106+
observedGeneration represents the .metadata.generation that the condition was set based upon.
107+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
108+
with respect to the current state of the instance.
106109
format: int64
107110
minimum: 0
108111
type: integer
109112
reason:
110-
description: reason contains a programmatic identifier indicating
111-
the reason for the condition's last transition. Producers
112-
of specific condition types may define expected values and
113-
meanings for this field, and whether the values are considered
114-
a guaranteed API. The value should be a CamelCase string.
113+
description: |-
114+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
115+
Producers of specific condition types may define expected values and meanings for this field,
116+
and whether the values are considered a guaranteed API.
117+
The value should be a CamelCase string.
115118
This field may not be empty.
116119
maxLength: 1024
117120
minLength: 1
@@ -125,11 +128,12 @@ spec:
125128
- Unknown
126129
type: string
127130
type:
128-
description: type of condition in CamelCase or in foo.example.com/CamelCase.
129-
--- Many .condition.type values are consistent across resources
130-
like Available, but because arbitrary conditions can be useful
131-
(see .node.status.conditions), the ability to deconflict is
132-
important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
131+
description: |-
132+
type of condition in CamelCase or in foo.example.com/CamelCase.
133+
---
134+
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
135+
useful (see .node.status.conditions), the ability to deconflict is important.
136+
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
133137
maxLength: 316
134138
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
135139
type: string

0 commit comments

Comments
 (0)