Skip to content

Commit cd48373

Browse files
committed
Update controller-gen to v0.16.1
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 5be0c53 commit cd48373

7 files changed

+58
-360
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ FUZZ_TIME ?= 1m
3838
GO_STATIC_FLAGS=-ldflags "-s -w" -tags 'netgo,osusergo,static_build$(addprefix ,,$(GO_TAGS))'
3939

4040
# API (doc) generation utilities
41-
CONTROLLER_GEN_VERSION ?= v0.15.0
41+
CONTROLLER_GEN_VERSION ?= v0.16.1
4242
GEN_API_REF_DOCS_VERSION ?= e327d0730470cbd61b06300f81c5fcf91c23c113
4343

4444
# If gobin not set, create one on ./build and add to path.

config/crd/bases/source.toolkit.fluxcd.io_buckets.yaml

Lines changed: 11 additions & 63 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.15.0
6+
controller-gen.kubebuilder.io/version: v0.16.1
77
name: buckets.source.toolkit.fluxcd.io
88
spec:
99
group: source.toolkit.fluxcd.io
@@ -90,19 +90,16 @@ spec:
9090
CertSecretRef can be given the name of a Secret containing
9191
either or both of
9292
93-
9493
- a PEM-encoded client certificate (`tls.crt`) and private
9594
key (`tls.key`);
9695
- a PEM-encoded CA certificate (`ca.crt`)
9796
98-
9997
and whichever are supplied, will be used for connecting to the
10098
bucket. The client cert and key are useful if you are
10199
authenticating with a certificate; the CA cert is useful if
102100
you are using a self-signed server certificate. The Secret must
103101
be of type `Opaque` or `kubernetes.io/tls`.
104102
105-
106103
This field is only supported for the `generic` provider.
107104
properties:
108105
name:
@@ -179,27 +176,23 @@ spec:
179176
Service for fetching temporary credentials to authenticate in a
180177
Bucket provider.
181178
182-
183179
This field is only supported for the `aws` and `generic` providers.
184180
properties:
185181
certSecretRef:
186182
description: |-
187183
CertSecretRef can be given the name of a Secret containing
188184
either or both of
189185
190-
191186
- a PEM-encoded client certificate (`tls.crt`) and private
192187
key (`tls.key`);
193188
- a PEM-encoded CA certificate (`ca.crt`)
194189
195-
196190
and whichever are supplied, will be used for connecting to the
197191
STS endpoint. The client cert and key are useful if you are
198192
authenticating with a certificate; the CA cert is useful if
199193
you are using a self-signed server certificate. The Secret must
200194
be of type `Opaque` or `kubernetes.io/tls`.
201195
202-
203196
This field is only supported for the `ldap` provider.
204197
properties:
205198
name:
@@ -320,16 +313,8 @@ spec:
320313
conditions:
321314
description: Conditions holds the conditions for the Bucket.
322315
items:
323-
description: "Condition contains details for one aspect of the current
324-
state of this API Resource.\n---\nThis struct is intended for
325-
direct use as an array at the field path .status.conditions. For
326-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
327-
observations of a foo's current state.\n\t // Known .status.conditions.type
328-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
329-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
330-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
331-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
332-
\ // other fields\n\t}"
316+
description: Condition contains details for one aspect of the current
317+
state of this API Resource.
333318
properties:
334319
lastTransitionTime:
335320
description: |-
@@ -370,12 +355,7 @@ spec:
370355
- Unknown
371356
type: string
372357
type:
373-
description: |-
374-
type of condition in CamelCase or in foo.example.com/CamelCase.
375-
---
376-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
377-
useful (see .node.status.conditions), the ability to deconflict is important.
378-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
358+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
379359
maxLength: 316
380360
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])$
381361
type: string
@@ -566,22 +546,15 @@ spec:
566546
description: URL is the HTTP address of this artifact.
567547
type: string
568548
required:
549+
- lastUpdateTime
569550
- path
570551
- url
571552
type: object
572553
conditions:
573554
description: Conditions holds the conditions for the Bucket.
574555
items:
575-
description: "Condition contains details for one aspect of the current
576-
state of this API Resource.\n---\nThis struct is intended for
577-
direct use as an array at the field path .status.conditions. For
578-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
579-
observations of a foo's current state.\n\t // Known .status.conditions.type
580-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
581-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
582-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
583-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
584-
\ // other fields\n\t}"
556+
description: Condition contains details for one aspect of the current
557+
state of this API Resource.
585558
properties:
586559
lastTransitionTime:
587560
description: |-
@@ -622,12 +595,7 @@ spec:
622595
- Unknown
623596
type: string
624597
type:
625-
description: |-
626-
type of condition in CamelCase or in foo.example.com/CamelCase.
627-
---
628-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
629-
useful (see .node.status.conditions), the ability to deconflict is important.
630-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
598+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
631599
maxLength: 316
632600
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])$
633601
type: string
@@ -737,19 +705,16 @@ spec:
737705
CertSecretRef can be given the name of a Secret containing
738706
either or both of
739707
740-
741708
- a PEM-encoded client certificate (`tls.crt`) and private
742709
key (`tls.key`);
743710
- a PEM-encoded CA certificate (`ca.crt`)
744711
745-
746712
and whichever are supplied, will be used for connecting to the
747713
bucket. The client cert and key are useful if you are
748714
authenticating with a certificate; the CA cert is useful if
749715
you are using a self-signed server certificate. The Secret must
750716
be of type `Opaque` or `kubernetes.io/tls`.
751717
752-
753718
This field is only supported for the `generic` provider.
754719
properties:
755720
name:
@@ -826,27 +791,23 @@ spec:
826791
Service for fetching temporary credentials to authenticate in a
827792
Bucket provider.
828793
829-
830794
This field is only supported for the `aws` and `generic` providers.
831795
properties:
832796
certSecretRef:
833797
description: |-
834798
CertSecretRef can be given the name of a Secret containing
835799
either or both of
836800
837-
838801
- a PEM-encoded client certificate (`tls.crt`) and private
839802
key (`tls.key`);
840803
- a PEM-encoded CA certificate (`ca.crt`)
841804
842-
843805
and whichever are supplied, will be used for connecting to the
844806
STS endpoint. The client cert and key are useful if you are
845807
authenticating with a certificate; the CA cert is useful if
846808
you are using a self-signed server certificate. The Secret must
847809
be of type `Opaque` or `kubernetes.io/tls`.
848810
849-
850811
This field is only supported for the `ldap` provider.
851812
properties:
852813
name:
@@ -967,16 +928,8 @@ spec:
967928
conditions:
968929
description: Conditions holds the conditions for the Bucket.
969930
items:
970-
description: "Condition contains details for one aspect of the current
971-
state of this API Resource.\n---\nThis struct is intended for
972-
direct use as an array at the field path .status.conditions. For
973-
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
974-
observations of a foo's current state.\n\t // Known .status.conditions.type
975-
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
976-
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
977-
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
978-
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
979-
\ // other fields\n\t}"
931+
description: Condition contains details for one aspect of the current
932+
state of this API Resource.
980933
properties:
981934
lastTransitionTime:
982935
description: |-
@@ -1017,12 +970,7 @@ spec:
1017970
- Unknown
1018971
type: string
1019972
type:
1020-
description: |-
1021-
type of condition in CamelCase or in foo.example.com/CamelCase.
1022-
---
1023-
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
1024-
useful (see .node.status.conditions), the ability to deconflict is important.
1025-
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
973+
description: type of condition in CamelCase or in foo.example.com/CamelCase.
1026974
maxLength: 316
1027975
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])$
1028976
type: string

0 commit comments

Comments
 (0)