Skip to content

Commit d340575

Browse files
authored
Update Go dependencies (#59)
1 parent 16ac7b0 commit d340575

7 files changed

+4014
-4666
lines changed

config/crd/bases/managedupgrade.appuio.io_clusterversions.yaml

Lines changed: 79 additions & 67 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.13.0
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
name: clusterversions.managedupgrade.appuio.io
88
spec:
99
group: managedupgrade.appuio.io
@@ -20,14 +20,19 @@ spec:
2020
description: ClusterVersion is the Schema for the clusterversions API
2121
properties:
2222
apiVersion:
23-
description: 'APIVersion defines the versioned schema of this representation
24-
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2628
type: string
2729
kind:
28-
description: 'Kind is a string value representing the REST resource this
29-
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3136
type: string
3237
metadata:
3338
type: object
@@ -42,15 +47,16 @@ spec:
4247
description: Spec is the spec applied to the ClusterVersion object
4348
properties:
4449
capabilities:
45-
description: capabilities configures the installation of optional,
46-
core cluster components. A null value here is identical
47-
to an empty object; see the child properties for default
48-
semantics.
50+
description: |-
51+
capabilities configures the installation of optional, core
52+
cluster components. A null value here is identical to an
53+
empty object; see the child properties for default semantics.
4954
properties:
5055
additionalEnabledCapabilities:
51-
description: additionalEnabledCapabilities extends the
52-
set of managed capabilities beyond the baseline defined
53-
in baselineCapabilitySet. The default is an empty set.
56+
description: |-
57+
additionalEnabledCapabilities extends the set of managed
58+
capabilities beyond the baseline defined in
59+
baselineCapabilitySet. The default is an empty set.
5460
items:
5561
description: ClusterVersionCapability enumerates optional,
5662
core cluster components.
@@ -66,11 +72,12 @@ spec:
6672
type: array
6773
x-kubernetes-list-type: atomic
6874
baselineCapabilitySet:
69-
description: baselineCapabilitySet selects an initial
70-
set of optional capabilities to enable, which can be
71-
extended via additionalEnabledCapabilities. If unset,
72-
the cluster will choose a default, and the default may
73-
change over time. The current default is vCurrent.
75+
description: |-
76+
baselineCapabilitySet selects an initial set of
77+
optional capabilities to enable, which can be extended via
78+
additionalEnabledCapabilities. If unset, the cluster will
79+
choose a default, and the default may change over time.
80+
The current default is vCurrent.
7481
enum:
7582
- None
7683
- v4.11
@@ -79,59 +86,63 @@ spec:
7986
type: string
8087
type: object
8188
channel:
82-
description: channel is an identifier for explicitly requesting
83-
that a non-default set of updates be applied to this cluster.
84-
The default channel will be contain stable updates that
85-
are appropriate for production clusters.
89+
description: |-
90+
channel is an identifier for explicitly requesting that a non-default
91+
set of updates be applied to this cluster. The default channel will be
92+
contain stable updates that are appropriate for production clusters.
8693
type: string
8794
clusterID:
88-
description: clusterID uniquely identifies this cluster. This
89-
is expected to be an RFC4122 UUID value (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
90-
in hexadecimal values). This is a required field.
95+
description: |-
96+
clusterID uniquely identifies this cluster. This is expected to be
97+
an RFC4122 UUID value (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in
98+
hexadecimal values). This is a required field.
9199
type: string
92100
desiredUpdate:
93-
description: "desiredUpdate is an optional field that indicates
94-
the desired value of the cluster version. Setting this value
95-
will trigger an upgrade (if the current version does not
96-
match the desired version). The set of recommended update
97-
values is listed as part of available updates in status,
98-
and setting values outside that range may cause the upgrade
99-
to fail. You may specify the version field without setting
100-
image if an update exists with that version in the availableUpdates
101-
or history. \n If an upgrade fails the operator will halt
102-
and report status about the failing component. Setting the
103-
desired update value back to the previous version will cause
104-
a rollback to be attempted. Not all rollbacks will succeed."
101+
description: |-
102+
desiredUpdate is an optional field that indicates the desired value of
103+
the cluster version. Setting this value will trigger an upgrade (if
104+
the current version does not match the desired version). The set of
105+
recommended update values is listed as part of available updates in
106+
status, and setting values outside that range may cause the upgrade
107+
to fail. You may specify the version field without setting image if
108+
an update exists with that version in the availableUpdates or history.
109+
110+
111+
If an upgrade fails the operator will halt and report status
112+
about the failing component. Setting the desired update value back to
113+
the previous version will cause a rollback to be attempted. Not all
114+
rollbacks will succeed.
105115
properties:
106116
force:
107-
description: force allows an administrator to update to
108-
an image that has failed verification or upgradeable
109-
checks. This option should only be used when the authenticity
110-
of the provided image has been verified out of band
111-
because the provided image will run with full administrative
112-
access to the cluster. Do not use this flag with images
113-
that comes from unknown or potentially malicious sources.
117+
description: |-
118+
force allows an administrator to update to an image that has failed
119+
verification or upgradeable checks. This option should only
120+
be used when the authenticity of the provided image has been verified out
121+
of band because the provided image will run with full administrative access
122+
to the cluster. Do not use this flag with images that comes from unknown
123+
or potentially malicious sources.
114124
type: boolean
115125
image:
116-
description: image is a container image location that
117-
contains the update. When this field is part of spec,
118-
image is optional if version is specified and the availableUpdates
119-
field contains a matching version.
126+
description: |-
127+
image is a container image location that contains the update. When this
128+
field is part of spec, image is optional if version is specified and the
129+
availableUpdates field contains a matching version.
120130
type: string
121131
version:
122-
description: version is a semantic versioning identifying
123-
the update version. When this field is part of spec,
124-
version is optional if image is specified.
132+
description: |-
133+
version is a semantic versioning identifying the update version. When this
134+
field is part of spec, version is optional if image is specified.
125135
type: string
126136
type: object
127137
overrides:
128-
description: overrides is list of overides for components
129-
that are managed by cluster version operator. Marking a
130-
component unmanaged will prevent the operator from creating
131-
or updating the object.
138+
description: |-
139+
overrides is list of overides for components that are managed by
140+
cluster version operator. Marking a component unmanaged will prevent
141+
the operator from creating or updating the object.
132142
items:
133-
description: ComponentOverride allows overriding cluster
134-
version operator's behavior for a component.
143+
description: |-
144+
ComponentOverride allows overriding cluster version operator's behavior
145+
for a component.
135146
properties:
136147
group:
137148
description: group identifies the API group that the
@@ -144,14 +155,15 @@ spec:
144155
description: name is the component's name.
145156
type: string
146157
namespace:
147-
description: namespace is the component's namespace.
148-
If the resource is cluster scoped, the namespace should
149-
be empty.
158+
description: |-
159+
namespace is the component's namespace. If the resource is cluster
160+
scoped, the namespace should be empty.
150161
type: string
151162
unmanaged:
152-
description: 'unmanaged controls if cluster version
153-
operator should stop managing the resources in this
154-
cluster. Default: false'
163+
description: |-
164+
unmanaged controls if cluster version operator should stop managing the
165+
resources in this cluster.
166+
Default: false
155167
type: boolean
156168
required:
157169
- group
@@ -162,9 +174,9 @@ spec:
162174
type: object
163175
type: array
164176
upstream:
165-
description: upstream may be used to specify the preferred
166-
update server. By default it will use the appropriate update
167-
server for the cluster and region.
177+
description: |-
178+
upstream may be used to specify the preferred update server. By default
179+
it will use the appropriate update server for the cluster and region.
168180
type: string
169181
required:
170182
- clusterID

config/crd/bases/managedupgrade.appuio.io_upgradeconfigs.yaml

Lines changed: 28 additions & 24 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.13.0
6+
controller-gen.kubebuilder.io/version: v0.14.0
77
name: upgradeconfigs.managedupgrade.appuio.io
88
spec:
99
group: managedupgrade.appuio.io
@@ -20,14 +20,19 @@ spec:
2020
description: UpgradeConfig is the Schema for the upgradeconfigs API
2121
properties:
2222
apiVersion:
23-
description: 'APIVersion defines the versioned schema of this representation
24-
of an object. Servers should convert recognized schemas to the latest
25-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
2628
type: string
2729
kind:
28-
description: 'Kind is a string value representing the REST resource this
29-
object represents. Servers may infer this from the endpoint the client
30-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3136
type: string
3237
metadata:
3338
type: object
@@ -120,22 +125,22 @@ spec:
120125
type: object
121126
maxSchedulingDelay:
122127
default: 1h
123-
description: MaxSchedulingDelay defines the maximum time after which
124-
the upgrade job should be scheduled. If the upgrade job is not scheduled
125-
before this time, it will not be scheduled.
128+
description: |-
129+
MaxSchedulingDelay defines the maximum time after which the upgrade job should be scheduled.
130+
If the upgrade job is not scheduled before this time, it will not be scheduled.
126131
format: duration
127132
type: string
128133
maxUpgradeStartDelay:
129134
default: 1h
130-
description: MaxUpgradeStartDelay defines the maximum time after which
131-
the upgrade job should be started. If the upgrade job is not started
132-
before this time, it is considered failed.
135+
description: |-
136+
MaxUpgradeStartDelay defines the maximum time after which the upgrade job should be started.
137+
If the upgrade job is not started before this time, it is considered failed.
133138
format: duration
134139
type: string
135140
pinVersionWindow:
136-
description: PinVersionWindow defines the time window before the maintenance
137-
window in which the upgrade version is pinned. `UpgradeJobs` are
138-
created at `schedule - pinVersionWindow`.
141+
description: |-
142+
PinVersionWindow defines the time window before the maintenance window in which the upgrade version is pinned.
143+
`UpgradeJobs` are created at `schedule - pinVersionWindow`.
139144
type: string
140145
schedule:
141146
description: Schedule defines the schedule for the upgrade
@@ -145,9 +150,9 @@ spec:
145150
per https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format
146151
type: string
147152
isoWeek:
148-
description: IsoWeek defines the week of the year according to
149-
ISO 8601 week number to schedule the upgrade. Currently supported
150-
values are `@odd` and `@even`.
153+
description: |-
154+
IsoWeek defines the week of the year according to ISO 8601 week number to schedule the upgrade.
155+
Currently supported values are `@odd` and `@even`.
151156
pattern: ^(@odd|@even|\d{1,2})$
152157
type: string
153158
location:
@@ -173,11 +178,10 @@ spec:
173178
description: UpgradeConfigStatus defines the observed state of UpgradeConfig
174179
properties:
175180
lastScheduledUpgrade:
176-
description: LastScheduledUpgrade is the time at which the cluster
177-
version was last checked for updates. Matches the startAfter time
178-
of the upgrade job that was created, or would have been created
179-
if an update was available. Also is increased when a job would have
180-
been created, but was not created due to the config being suspended.
181+
description: |-
182+
LastScheduledUpgrade is the time at which the cluster version was last checked for updates.
183+
Matches the startAfter time of the upgrade job that was created, or would have been created if an update was available.
184+
Also is increased when a job would have been created, but was not created due to the config being suspended.
181185
format: date-time
182186
type: string
183187
type: object

0 commit comments

Comments
 (0)