Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps)!: bump k8s dependencies to 1.27 #12865

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ pkg/apis/workflow/v1alpha1/zz_generated.deepcopy.go: $(TYPES)

dist/kubernetes.swagger.json:
@mkdir -p dist
./hack/recurl.sh dist/kubernetes.swagger.json https://raw.githubusercontent.com/kubernetes/kubernetes/v1.23.3/api/openapi-spec/swagger.json
./hack/recurl.sh dist/kubernetes.swagger.json https://raw.githubusercontent.com/kubernetes/kubernetes/v1.27.12/api/openapi-spec/swagger.json

pkg/apiclient/_.secondary.swagger.json: hack/api/swagger/secondaryswaggergen.go pkg/apis/workflow/v1alpha1/openapi_generated.go dist/kubernetes.swagger.json
rm -Rf v3 vendor
Expand Down
594 changes: 319 additions & 275 deletions api/jsonschema/schema.json

Large diffs are not rendered by default.

694 changes: 408 additions & 286 deletions api/openapi-spec/swagger.json

Large diffs are not rendered by default.

64 changes: 59 additions & 5 deletions docs/executor_swagger.md
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,10 @@ Cannot be updated.
+listMapKey=containerPort
+listMapKey=protocol | |
| readinessProbe | [Probe](#probe)| `Probe` | | | | |
| resizePolicy | [][ContainerResizePolicy](#container-resize-policy)| `[]*ContainerResizePolicy` | | | Resources resize policy for the container.
+featureGate=InPlacePodVerticalScaling
+optional
+listType=atomic | |
| resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | |
| securityContext | [SecurityContext](#security-context)| `SecurityContext` | | | | |
| startupProbe | [Probe](#probe)| `Probe` | | | | |
Expand Down Expand Up @@ -951,6 +955,10 @@ Cannot be updated.
+listMapKey=containerPort
+listMapKey=protocol | |
| readinessProbe | [Probe](#probe)| `Probe` | | | | |
| resizePolicy | [][ContainerResizePolicy](#container-resize-policy)| `[]*ContainerResizePolicy` | | | Resources resize policy for the container.
+featureGate=InPlacePodVerticalScaling
+optional
+listType=atomic | |
| resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | |
| securityContext | [SecurityContext](#security-context)| `SecurityContext` | | | | |
| startupProbe | [Probe](#probe)| `Probe` | | | | |
Expand Down Expand Up @@ -1023,6 +1031,22 @@ referred to by services.



### <span id="container-resize-policy"></span> ContainerResizePolicy






**Properties**

| Name | Type | Go type | Required | Default | Description | Example |
|------|------|---------|:--------:| ------- |-------------|---------|
| resourceName | [ResourceName](#resource-name)| `ResourceName` | | | | |
| restartPolicy | [ResourceResizeRestartPolicy](#resource-resize-restart-policy)| `ResourceResizeRestartPolicy` | | | | |



### <span id="container-set-retry-strategy"></span> ContainerSetRetryStrategy


Expand Down Expand Up @@ -2833,7 +2857,7 @@ otherwise 422 (Unprocessable Entity) will be returned.
| kind | string| `string` | | | Kind of the referent.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | |
| name | string| `string` | | | Name of the referent.
More info: http://kubernetes.io/docs/user-guide/identifiers#names | |
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names | |
| uid | [UID](#uid)| `UID` | | | | |


Expand Down Expand Up @@ -2936,7 +2960,7 @@ PersistentVolumeClaim objects as part of an EphemeralVolumeSource.
| annotations | map of string| `map[string]string` | | | Annotations is an unstructured key value map stored with a resource that may be
set by external tools to store and retrieve arbitrary metadata. They are not
queryable and should be preserved when modifying objects.
More info: http://kubernetes.io/docs/user-guide/annotations
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
+optional | |
| creationTimestamp | [Time](#time)| `Time` | | | | |
| deletionGracePeriodSeconds | int64 (formatted integer)| `int64` | | | Number of seconds allowed for this object to gracefully terminate before
Expand Down Expand Up @@ -2979,7 +3003,7 @@ Populated by the system. Read-only.
| labels | map of string| `map[string]string` | | | Map of string keys and values that can be used to organize and categorize
(scope and select) objects. May match selectors of replication controllers
and services.
More info: http://kubernetes.io/docs/user-guide/labels
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
+optional | |
| managedFields | [][ManagedFieldsEntry](#managed-fields-entry)| `[]*ManagedFieldsEntry` | | | ManagedFields maps workflow-id and version to the set of fields
that are managed by that workflow. This is mostly for internal
Expand All @@ -2995,7 +3019,7 @@ some resources may allow a client to request the generation of an appropriate na
automatically. Name is primarily intended for creation idempotence and configuration
definition.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/identifiers#names
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names#names
+optional | |
| namespace | string| `string` | | | Namespace defines the space within which each name must be unique. An empty namespace is
equivalent to the "default" namespace, but "default" is the canonical representation.
Expand All @@ -3004,7 +3028,7 @@ those objects will be empty.

Must be a DNS_LABEL.
Cannot be updated.
More info: http://kubernetes.io/docs/user-guide/namespaces
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces
+optional | |
| ownerReferences | [][OwnerReference](#owner-reference)| `[]*OwnerReference` | | | List of objects depended by this object. If ALL objects in the list have
been deleted, this object will be garbage collected. If this object is managed by a controller,
Expand Down Expand Up @@ -3689,6 +3713,17 @@ inside a container. | |

[ResourceList](#resource-list)

### <span id="resource-name"></span> ResourceName




| Name | Type | Go type | Default | Description | Example |
|------|------|---------| ------- |-------------|---------|
| ResourceName | string| string | | | |



### <span id="resource-requirements"></span> ResourceRequirements


Expand Down Expand Up @@ -3717,6 +3752,17 @@ This field is immutable. It can only be set for containers.



### <span id="resource-resize-restart-policy"></span> ResourceResizeRestartPolicy




| Name | Type | Go type | Default | Description | Example |
|------|------|---------| ------- |-------------|---------|
| ResourceResizeRestartPolicy | string| string | | | |



### <span id="resource-template"></span> ResourceTemplate


Expand Down Expand Up @@ -3992,6 +4038,10 @@ Cannot be updated.
+listMapKey=containerPort
+listMapKey=protocol | |
| readinessProbe | [Probe](#probe)| `Probe` | | | | |
| resizePolicy | [][ContainerResizePolicy](#container-resize-policy)| `[]*ContainerResizePolicy` | | | Resources resize policy for the container.
+featureGate=InPlacePodVerticalScaling
+optional
+listType=atomic | |
| resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | |
| securityContext | [SecurityContext](#security-context)| `SecurityContext` | | | | |
| source | string| `string` | | | Source contains the source code of the script to execute | |
Expand Down Expand Up @@ -4841,6 +4891,10 @@ Cannot be updated.
+listMapKey=containerPort
+listMapKey=protocol | |
| readinessProbe | [Probe](#probe)| `Probe` | | | | |
| resizePolicy | [][ContainerResizePolicy](#container-resize-policy)| `[]*ContainerResizePolicy` | | | Resources resize policy for the container.
+featureGate=InPlacePodVerticalScaling
+optional
+listType=atomic | |
| resources | [ResourceRequirements](#resource-requirements)| `ResourceRequirements` | | | | |
| securityContext | [SecurityContext](#security-context)| `SecurityContext` | | | | |
| startupProbe | [Probe](#probe)| `Probe` | | | | |
Expand Down