Skip to content

Commit

Permalink
Update Go dependencies (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan committed Mar 4, 2024
1 parent 16ac7b0 commit d340575
Show file tree
Hide file tree
Showing 7 changed files with 4,014 additions and 4,666 deletions.
146 changes: 79 additions & 67 deletions config/crd/bases/managedupgrade.appuio.io_clusterversions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
controller-gen.kubebuilder.io/version: v0.14.0
name: clusterversions.managedupgrade.appuio.io
spec:
group: managedupgrade.appuio.io
Expand All @@ -20,14 +20,19 @@ spec:
description: ClusterVersion is the Schema for the clusterversions API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -42,15 +47,16 @@ spec:
description: Spec is the spec applied to the ClusterVersion object
properties:
capabilities:
description: capabilities configures the installation of optional,
core cluster components. A null value here is identical
to an empty object; see the child properties for default
semantics.
description: |-
capabilities configures the installation of optional, core
cluster components. A null value here is identical to an
empty object; see the child properties for default semantics.
properties:
additionalEnabledCapabilities:
description: additionalEnabledCapabilities extends the
set of managed capabilities beyond the baseline defined
in baselineCapabilitySet. The default is an empty set.
description: |-
additionalEnabledCapabilities extends the set of managed
capabilities beyond the baseline defined in
baselineCapabilitySet. The default is an empty set.
items:
description: ClusterVersionCapability enumerates optional,
core cluster components.
Expand All @@ -66,11 +72,12 @@ spec:
type: array
x-kubernetes-list-type: atomic
baselineCapabilitySet:
description: baselineCapabilitySet selects an initial
set of optional capabilities to enable, which can be
extended via additionalEnabledCapabilities. If unset,
the cluster will choose a default, and the default may
change over time. The current default is vCurrent.
description: |-
baselineCapabilitySet selects an initial set of
optional capabilities to enable, which can be extended via
additionalEnabledCapabilities. If unset, the cluster will
choose a default, and the default may change over time.
The current default is vCurrent.
enum:
- None
- v4.11
Expand All @@ -79,59 +86,63 @@ spec:
type: string
type: object
channel:
description: channel is an identifier for explicitly requesting
that a non-default set of updates be applied to this cluster.
The default channel will be contain stable updates that
are appropriate for production clusters.
description: |-
channel is an identifier for explicitly requesting that a non-default
set of updates be applied to this cluster. The default channel will be
contain stable updates that are appropriate for production clusters.
type: string
clusterID:
description: clusterID uniquely identifies this cluster. This
is expected to be an RFC4122 UUID value (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
in hexadecimal values). This is a required field.
description: |-
clusterID uniquely identifies this cluster. This is expected to be
an RFC4122 UUID value (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx in
hexadecimal values). This is a required field.
type: string
desiredUpdate:
description: "desiredUpdate is an optional field that indicates
the desired value of the cluster version. Setting this value
will trigger an upgrade (if the current version does not
match the desired version). The set of recommended update
values is listed as part of available updates in status,
and setting values outside that range may cause the upgrade
to fail. You may specify the version field without setting
image if an update exists with that version in the availableUpdates
or history. \n If an upgrade fails the operator will halt
and report status about the failing component. Setting the
desired update value back to the previous version will cause
a rollback to be attempted. Not all rollbacks will succeed."
description: |-
desiredUpdate is an optional field that indicates the desired value of
the cluster version. Setting this value will trigger an upgrade (if
the current version does not match the desired version). The set of
recommended update values is listed as part of available updates in
status, and setting values outside that range may cause the upgrade
to fail. You may specify the version field without setting image if
an update exists with that version in the availableUpdates or history.
If an upgrade fails the operator will halt and report status
about the failing component. Setting the desired update value back to
the previous version will cause a rollback to be attempted. Not all
rollbacks will succeed.
properties:
force:
description: force allows an administrator to update to
an image that has failed verification or upgradeable
checks. This option should only be used when the authenticity
of the provided image has been verified out of band
because the provided image will run with full administrative
access to the cluster. Do not use this flag with images
that comes from unknown or potentially malicious sources.
description: |-
force allows an administrator to update to an image that has failed
verification or upgradeable checks. This option should only
be used when the authenticity of the provided image has been verified out
of band because the provided image will run with full administrative access
to the cluster. Do not use this flag with images that comes from unknown
or potentially malicious sources.
type: boolean
image:
description: image is a container image location that
contains the update. When this field is part of spec,
image is optional if version is specified and the availableUpdates
field contains a matching version.
description: |-
image is a container image location that contains the update. When this
field is part of spec, image is optional if version is specified and the
availableUpdates field contains a matching version.
type: string
version:
description: version is a semantic versioning identifying
the update version. When this field is part of spec,
version is optional if image is specified.
description: |-
version is a semantic versioning identifying the update version. When this
field is part of spec, version is optional if image is specified.
type: string
type: object
overrides:
description: overrides is list of overides for components
that are managed by cluster version operator. Marking a
component unmanaged will prevent the operator from creating
or updating the object.
description: |-
overrides is list of overides for components that are managed by
cluster version operator. Marking a component unmanaged will prevent
the operator from creating or updating the object.
items:
description: ComponentOverride allows overriding cluster
version operator's behavior for a component.
description: |-
ComponentOverride allows overriding cluster version operator's behavior
for a component.
properties:
group:
description: group identifies the API group that the
Expand All @@ -144,14 +155,15 @@ spec:
description: name is the component's name.
type: string
namespace:
description: namespace is the component's namespace.
If the resource is cluster scoped, the namespace should
be empty.
description: |-
namespace is the component's namespace. If the resource is cluster
scoped, the namespace should be empty.
type: string
unmanaged:
description: 'unmanaged controls if cluster version
operator should stop managing the resources in this
cluster. Default: false'
description: |-
unmanaged controls if cluster version operator should stop managing the
resources in this cluster.
Default: false
type: boolean
required:
- group
Expand All @@ -162,9 +174,9 @@ spec:
type: object
type: array
upstream:
description: upstream may be used to specify the preferred
update server. By default it will use the appropriate update
server for the cluster and region.
description: |-
upstream may be used to specify the preferred update server. By default
it will use the appropriate update server for the cluster and region.
type: string
required:
- clusterID
Expand Down
52 changes: 28 additions & 24 deletions config/crd/bases/managedupgrade.appuio.io_upgradeconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
controller-gen.kubebuilder.io/version: v0.14.0
name: upgradeconfigs.managedupgrade.appuio.io
spec:
group: managedupgrade.appuio.io
Expand All @@ -20,14 +20,19 @@ spec:
description: UpgradeConfig is the Schema for the upgradeconfigs API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand Down Expand Up @@ -120,22 +125,22 @@ spec:
type: object
maxSchedulingDelay:
default: 1h
description: MaxSchedulingDelay defines the maximum time after which
the upgrade job should be scheduled. If the upgrade job is not scheduled
before this time, it will not be scheduled.
description: |-
MaxSchedulingDelay defines the maximum time after which the upgrade job should be scheduled.
If the upgrade job is not scheduled before this time, it will not be scheduled.
format: duration
type: string
maxUpgradeStartDelay:
default: 1h
description: MaxUpgradeStartDelay defines the maximum time after which
the upgrade job should be started. If the upgrade job is not started
before this time, it is considered failed.
description: |-
MaxUpgradeStartDelay defines the maximum time after which the upgrade job should be started.
If the upgrade job is not started before this time, it is considered failed.
format: duration
type: string
pinVersionWindow:
description: PinVersionWindow defines the time window before the maintenance
window in which the upgrade version is pinned. `UpgradeJobs` are
created at `schedule - pinVersionWindow`.
description: |-
PinVersionWindow defines the time window before the maintenance window in which the upgrade version is pinned.
`UpgradeJobs` are created at `schedule - pinVersionWindow`.
type: string
schedule:
description: Schedule defines the schedule for the upgrade
Expand All @@ -145,9 +150,9 @@ spec:
per https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format
type: string
isoWeek:
description: IsoWeek defines the week of the year according to
ISO 8601 week number to schedule the upgrade. Currently supported
values are `@odd` and `@even`.
description: |-
IsoWeek defines the week of the year according to ISO 8601 week number to schedule the upgrade.
Currently supported values are `@odd` and `@even`.
pattern: ^(@odd|@even|\d{1,2})$
type: string
location:
Expand All @@ -173,11 +178,10 @@ spec:
description: UpgradeConfigStatus defines the observed state of UpgradeConfig
properties:
lastScheduledUpgrade:
description: LastScheduledUpgrade is the time at which the cluster
version was last checked for updates. Matches the startAfter time
of the upgrade job that was created, or would have been created
if an update was available. Also is increased when a job would have
been created, but was not created due to the config being suspended.
description: |-
LastScheduledUpgrade is the time at which the cluster version was last checked for updates.
Matches the startAfter time of the upgrade job that was created, or would have been created if an update was available.
Also is increased when a job would have been created, but was not created due to the config being suspended.
format: date-time
type: string
type: object
Expand Down
Loading

0 comments on commit d340575

Please sign in to comment.