Skip to content

Commit 885f962

Browse files
committed
Regenerate files using go1.19 and updated tools
Signed-off-by: Sunny <[email protected]>
1 parent 6fe1af8 commit 885f962

6 files changed

+81
-57
lines changed

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

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
12
---
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
45
metadata:
56
annotations:
6-
controller-gen.kubebuilder.io/version: v0.8.0
7+
controller-gen.kubebuilder.io/version: v0.7.0
78
creationTimestamp: null
89
name: buckets.source.toolkit.fluxcd.io
910
spec:
@@ -166,12 +167,14 @@ spec:
166167
description: "Condition contains details for one aspect of the current
167168
state of this API Resource. --- This struct is intended for direct
168169
use as an array at the field path .status.conditions. For example,
169-
\n type FooStatus struct{ // Represents the observations of a
170-
foo's current state. // Known .status.conditions.type are: \"Available\",
171-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
172-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
170+
\n \ttype FooStatus struct{ \t // Represents the observations
171+
of a foo's current state. \t // Known .status.conditions.type
172+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
173+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
174+
\t // +listMapKey=type \t Conditions []metav1.Condition
173175
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
174-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
176+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
177+
\t}"
175178
properties:
176179
lastTransitionTime:
177180
description: lastTransitionTime is the last time the condition
@@ -419,12 +422,14 @@ spec:
419422
description: "Condition contains details for one aspect of the current
420423
state of this API Resource. --- This struct is intended for direct
421424
use as an array at the field path .status.conditions. For example,
422-
\n type FooStatus struct{ // Represents the observations of a
423-
foo's current state. // Known .status.conditions.type are: \"Available\",
424-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
425-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
425+
\n \ttype FooStatus struct{ \t // Represents the observations
426+
of a foo's current state. \t // Known .status.conditions.type
427+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
428+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
429+
\t // +listMapKey=type \t Conditions []metav1.Condition
426430
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
427-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
431+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
432+
\t}"
428433
properties:
429434
lastTransitionTime:
430435
description: lastTransitionTime is the last time the condition

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

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
12
---
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
45
metadata:
56
annotations:
6-
controller-gen.kubebuilder.io/version: v0.8.0
7+
controller-gen.kubebuilder.io/version: v0.7.0
78
creationTimestamp: null
89
name: gitrepositories.source.toolkit.fluxcd.io
910
spec:
@@ -235,12 +236,14 @@ spec:
235236
description: "Condition contains details for one aspect of the current
236237
state of this API Resource. --- This struct is intended for direct
237238
use as an array at the field path .status.conditions. For example,
238-
\n type FooStatus struct{ // Represents the observations of a
239-
foo's current state. // Known .status.conditions.type are: \"Available\",
240-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
241-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
239+
\n \ttype FooStatus struct{ \t // Represents the observations
240+
of a foo's current state. \t // Known .status.conditions.type
241+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
242+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
243+
\t // +listMapKey=type \t Conditions []metav1.Condition
242244
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
243-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
245+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
246+
\t}"
244247
properties:
245248
lastTransitionTime:
246249
description: lastTransitionTime is the last time the condition
@@ -594,12 +597,14 @@ spec:
594597
description: "Condition contains details for one aspect of the current
595598
state of this API Resource. --- This struct is intended for direct
596599
use as an array at the field path .status.conditions. For example,
597-
\n type FooStatus struct{ // Represents the observations of a
598-
foo's current state. // Known .status.conditions.type are: \"Available\",
599-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
600-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
600+
\n \ttype FooStatus struct{ \t // Represents the observations
601+
of a foo's current state. \t // Known .status.conditions.type
602+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
603+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
604+
\t // +listMapKey=type \t Conditions []metav1.Condition
601605
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
602-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
606+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
607+
\t}"
603608
properties:
604609
lastTransitionTime:
605610
description: lastTransitionTime is the last time the condition
@@ -659,8 +664,8 @@ spec:
659664
type: array
660665
contentConfigChecksum:
661666
description: 'ContentConfigChecksum is a checksum of all the configurations
662-
related to the content of the source artifact: - .spec.ignore -
663-
.spec.recurseSubmodules - .spec.included and the checksum of the
667+
related to the content of the source artifact: - .spec.ignore -
668+
.spec.recurseSubmodules - .spec.included and the checksum of the
664669
included artifacts observed in .status.observedGeneration version
665670
of the object. This can be used to determine if the content of the
666671
included repository has changed. It has the format of `<algo>:<checksum>`,

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

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
12
---
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
45
metadata:
56
annotations:
6-
controller-gen.kubebuilder.io/version: v0.8.0
7+
controller-gen.kubebuilder.io/version: v0.7.0
78
creationTimestamp: null
89
name: helmcharts.source.toolkit.fluxcd.io
910
spec:
@@ -191,12 +192,14 @@ spec:
191192
description: "Condition contains details for one aspect of the current
192193
state of this API Resource. --- This struct is intended for direct
193194
use as an array at the field path .status.conditions. For example,
194-
\n type FooStatus struct{ // Represents the observations of a
195-
foo's current state. // Known .status.conditions.type are: \"Available\",
196-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
197-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
195+
\n \ttype FooStatus struct{ \t // Represents the observations
196+
of a foo's current state. \t // Known .status.conditions.type
197+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
198+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
199+
\t // +listMapKey=type \t Conditions []metav1.Condition
198200
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
199-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
201+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
202+
\t}"
200203
properties:
201204
lastTransitionTime:
202205
description: lastTransitionTime is the last time the condition
@@ -466,12 +469,14 @@ spec:
466469
description: "Condition contains details for one aspect of the current
467470
state of this API Resource. --- This struct is intended for direct
468471
use as an array at the field path .status.conditions. For example,
469-
\n type FooStatus struct{ // Represents the observations of a
470-
foo's current state. // Known .status.conditions.type are: \"Available\",
471-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
472-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
472+
\n \ttype FooStatus struct{ \t // Represents the observations
473+
of a foo's current state. \t // Known .status.conditions.type
474+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
475+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
476+
\t // +listMapKey=type \t Conditions []metav1.Condition
473477
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
474-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
478+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
479+
\t}"
475480
properties:
476481
lastTransitionTime:
477482
description: lastTransitionTime is the last time the condition

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

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
12
---
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
45
metadata:
56
annotations:
6-
controller-gen.kubebuilder.io/version: v0.8.0
7+
controller-gen.kubebuilder.io/version: v0.7.0
78
creationTimestamp: null
89
name: helmrepositories.source.toolkit.fluxcd.io
910
spec:
@@ -154,12 +155,14 @@ spec:
154155
description: "Condition contains details for one aspect of the current
155156
state of this API Resource. --- This struct is intended for direct
156157
use as an array at the field path .status.conditions. For example,
157-
\n type FooStatus struct{ // Represents the observations of a
158-
foo's current state. // Known .status.conditions.type are: \"Available\",
159-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
160-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
158+
\n \ttype FooStatus struct{ \t // Represents the observations
159+
of a foo's current state. \t // Known .status.conditions.type
160+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
161+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
162+
\t // +listMapKey=type \t Conditions []metav1.Condition
161163
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
162-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
164+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
165+
\t}"
163166
properties:
164167
lastTransitionTime:
165168
description: lastTransitionTime is the last time the condition
@@ -411,12 +414,14 @@ spec:
411414
description: "Condition contains details for one aspect of the current
412415
state of this API Resource. --- This struct is intended for direct
413416
use as an array at the field path .status.conditions. For example,
414-
\n type FooStatus struct{ // Represents the observations of a
415-
foo's current state. // Known .status.conditions.type are: \"Available\",
416-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
417-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
417+
\n \ttype FooStatus struct{ \t // Represents the observations
418+
of a foo's current state. \t // Known .status.conditions.type
419+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
420+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
421+
\t // +listMapKey=type \t Conditions []metav1.Condition
418422
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
419-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
423+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
424+
\t}"
420425
properties:
421426
lastTransitionTime:
422427
description: lastTransitionTime is the last time the condition

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

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
12
---
23
apiVersion: apiextensions.k8s.io/v1
34
kind: CustomResourceDefinition
45
metadata:
56
annotations:
6-
controller-gen.kubebuilder.io/version: v0.8.0
7+
controller-gen.kubebuilder.io/version: v0.7.0
78
creationTimestamp: null
89
name: ocirepositories.source.toolkit.fluxcd.io
910
spec:
@@ -52,11 +53,11 @@ spec:
5253
properties:
5354
certSecretRef:
5455
description: "CertSecretRef can be given the name of a secret containing
55-
either or both of \n - a PEM-encoded client certificate (`certFile`)
56-
and private key (`keyFile`); - a PEM-encoded CA certificate (`caFile`)
57-
\n and whichever are supplied, will be used for connecting to the
58-
registry. The client cert and key are useful if you are authenticating
59-
with a certificate; the CA cert is useful if you are using a self-signed
56+
either or both of \n - a PEM-encoded client certificate (`certFile`)
57+
and private key (`keyFile`); - a PEM-encoded CA certificate (`caFile`)
58+
\n and whichever are supplied, will be used for connecting to the
59+
\ registry. The client cert and key are useful if you are authenticating
60+
with a certificate; the CA cert is useful if you are using a self-signed
6061
server certificate."
6162
properties:
6263
name:
@@ -237,12 +238,14 @@ spec:
237238
description: "Condition contains details for one aspect of the current
238239
state of this API Resource. --- This struct is intended for direct
239240
use as an array at the field path .status.conditions. For example,
240-
\n type FooStatus struct{ // Represents the observations of a
241-
foo's current state. // Known .status.conditions.type are: \"Available\",
242-
\"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge
243-
// +listType=map // +listMapKey=type Conditions []metav1.Condition
241+
\n \ttype FooStatus struct{ \t // Represents the observations
242+
of a foo's current state. \t // Known .status.conditions.type
243+
are: \"Available\", \"Progressing\", and \"Degraded\" \t //
244+
+patchMergeKey=type \t // +patchStrategy=merge \t // +listType=map
245+
\t // +listMapKey=type \t Conditions []metav1.Condition
244246
`json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\"
245-
protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
247+
protobuf:\"bytes,1,rep,name=conditions\"` \n \t // other fields
248+
\t}"
246249
properties:
247250
lastTransitionTime:
248251
description: lastTransitionTime is the last time the condition

config/rbac/role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
---
23
apiVersion: rbac.authorization.k8s.io/v1
34
kind: ClusterRole

0 commit comments

Comments
 (0)