Skip to content

Commit e35df1c

Browse files
committed
Changes in update-client-gen script for ApplyOperatorStatus,ApplyOperatorSpec,PatchOperatorStatus functions
Changes
1 parent 295ba1d commit e35df1c

File tree

2,731 files changed

+76361
-87498
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,731 files changed

+76361
-87498
lines changed

.ci-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
build_root_image:
22
name: builder
33
namespace: ocp
4-
tag: rhel-9-golang-1.22-openshift-4.17
4+
tag: rhel-9-golang-1.23-openshift-4.19

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/golang:1.22 AS builder
1+
FROM docker.io/golang:1.23 AS builder
22
WORKDIR /go/src/github.com/openshift/cert-manager-operator
33
COPY . .
44
RUN make build --warn-undefined-variables

bundle/manifests/operator.openshift.io_certmanagers.yaml

Lines changed: 33 additions & 2 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.17.3
5+
controller-gen.kubebuilder.io/version: v0.15.0
66
creationTimestamp: null
77
name: certmanagers.operator.openshift.io
88
spec:
@@ -793,17 +793,30 @@ spec:
793793
description: OperatorCondition is just the standard condition fields.
794794
properties:
795795
lastTransitionTime:
796+
description: |-
797+
lastTransitionTime is the last time the condition transitioned from one status to another.
798+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
796799
format: date-time
797800
type: string
798801
message:
799802
type: string
800803
reason:
801804
type: string
802805
status:
806+
description: status of the condition, one of True, False, Unknown.
807+
enum:
808+
- "True"
809+
- "False"
810+
- Unknown
803811
type: string
804812
type:
813+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
814+
maxLength: 316
815+
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])$
805816
type: string
806817
required:
818+
- lastTransitionTime
819+
- status
807820
- type
808821
type: object
809822
type: array
@@ -840,9 +853,27 @@ spec:
840853
description: resource is the resource type of the thing you're
841854
tracking
842855
type: string
856+
required:
857+
- group
858+
- name
859+
- namespace
860+
- resource
843861
type: object
844862
type: array
845-
x-kubernetes-list-type: atomic
863+
x-kubernetes-list-map-keys:
864+
- group
865+
- resource
866+
- namespace
867+
- name
868+
x-kubernetes-list-type: map
869+
latestAvailableRevision:
870+
description: latestAvailableRevision is the deploymentID of the most
871+
recent deployment
872+
format: int32
873+
type: integer
874+
x-kubernetes-validations:
875+
- message: must only increase
876+
rule: self >= oldSelf
846877
observedGeneration:
847878
description: observedGeneration is the last generation change you've
848879
dealt with

bundle/manifests/operator.openshift.io_istiocsrs.yaml

Lines changed: 1 addition & 1 deletion
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.17.3
5+
controller-gen.kubebuilder.io/version: v0.15.0
66
creationTimestamp: null
77
name: istiocsrs.operator.openshift.io
88
spec:

config/crd/bases/operator.openshift.io_certmanagers.yaml

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: certmanagers.operator.openshift.io
88
spec:
99
group: operator.openshift.io
@@ -793,17 +793,30 @@ spec:
793793
description: OperatorCondition is just the standard condition fields.
794794
properties:
795795
lastTransitionTime:
796+
description: |-
797+
lastTransitionTime is the last time the condition transitioned from one status to another.
798+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
796799
format: date-time
797800
type: string
798801
message:
799802
type: string
800803
reason:
801804
type: string
802805
status:
806+
description: status of the condition, one of True, False, Unknown.
807+
enum:
808+
- "True"
809+
- "False"
810+
- Unknown
803811
type: string
804812
type:
813+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
814+
maxLength: 316
815+
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])$
805816
type: string
806817
required:
818+
- lastTransitionTime
819+
- status
807820
- type
808821
type: object
809822
type: array
@@ -840,9 +853,27 @@ spec:
840853
description: resource is the resource type of the thing you're
841854
tracking
842855
type: string
856+
required:
857+
- group
858+
- name
859+
- namespace
860+
- resource
843861
type: object
844862
type: array
845-
x-kubernetes-list-type: atomic
863+
x-kubernetes-list-map-keys:
864+
- group
865+
- resource
866+
- namespace
867+
- name
868+
x-kubernetes-list-type: map
869+
latestAvailableRevision:
870+
description: latestAvailableRevision is the deploymentID of the most
871+
recent deployment
872+
format: int32
873+
type: integer
874+
x-kubernetes-validations:
875+
- message: must only increase
876+
rule: self >= oldSelf
846877
observedGeneration:
847878
description: observedGeneration is the last generation change you've
848879
dealt with

config/crd/bases/operator.openshift.io_istiocsrs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.17.3
6+
controller-gen.kubebuilder.io/version: v0.15.0
77
name: istiocsrs.operator.openshift.io
88
spec:
99
group: operator.openshift.io

0 commit comments

Comments
 (0)