Commit Graph

2418 Commits

Author SHA1 Message Date
Mohit Sharma
6f90c53633
Dependencies Update golang.org/x/tools v0.7.0 to v0.8.0 2023-04-20 11:00:06 +05:30
Kubernetes Prow Robot
0d41d28ea2
Merge pull request #117408 from cenkalti/backoff
dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
2023-04-19 03:55:22 -07:00
Cenk Alti
29b6c54d15
dependencies: update github.com/cenkalti/backoff/v4 to v4.2.1
Signed-off-by: Cenk Alti <cenkalti@gmail.com>
2023-04-17 18:20:27 -04:00
Mohit Sharma
4d73864026 Dependencies Update golang.org/x/timet 90d013bbcef8 to v0.3.0 2023-04-16 22:18:35 -07:00
Kubernetes Prow Robot
1d27cbc784
Merge pull request #117275 from akhilerm/update-coreos-deps
dependencies: update coreos dependencies
2023-04-14 06:52:40 -07:00
Akhil Mohan
5bce18c98e
dependencies: update go-semver to v0.3.1
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2023-04-13 23:29:48 -07:00
Akhil Mohan
d7270f4ba7
dependencies: update go-oidc to v2.2.1
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2023-04-13 23:25:57 -07:00
Humble Chirammal
b0d89a7807 dependencies: update github.com/gofrs/uuid v4.4.0
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-14 11:54:45 +05:30
Akhil Mohan
1595d7f52d
dependencies: update go-systemd to v22.5.0
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2023-04-13 23:21:38 -07:00
Humble Chirammal
9cfdf989ed dependencies: update gh/fvbommel/v1.1.0
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-14 11:51:11 +05:30
Humble Chirammal
6d13cad2cf dependencies: update gh/Azure/auto-test/{adal,validation}
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-13 23:25:48 +05:30
Kubernetes Prow Robot
21ad28aee2
Merge pull request #117279 from humblec/container-spec
dependencies: update container storage interface spec to v1.8.0
2023-04-13 08:30:39 -07:00
Humble Chirammal
2d06fad516 dependencies: azure-sdk-for-go to v55->v68
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-13 14:55:56 +05:30
Humble Chirammal
7cdffe37c1 update container storage interface spec to v1.8.0
this version got the group controller service capability which is
required for group snapshot feature.

Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2023-04-12 13:45:45 +05:30
Kubernetes Prow Robot
7da3893003
Merge pull request #117102 from ardaguclu/move-genericiooptions
Move genericclioptions.IOStreams to genericiooptions.IOStreams
2023-04-11 20:21:17 -07:00
Kubernetes Prow Robot
0638be816f
Merge pull request #117095 from PushkarJ/bump-runc
CVE-2023-27561 CVE-2023-25809 CVE-2023-28642: Bump runc go module v1.1.4 -> v1.1.5
2023-04-11 20:21:03 -07:00
Kubernetes Prow Robot
68f873250f
Merge pull request #116348 from jkh52/knp-0.1.2
Bump Konnectivity to 0.1.2
2023-04-11 15:36:11 -07:00
Kubernetes Prow Robot
d0fc9d16ce
Merge pull request #114800 from haoruan/feature-8976-spew-sprintf-refactor
Capture spew.Sprintf() with all our favorite config into a util func
2023-04-11 15:34:57 -07:00
Arda Güçlü
b4e4db336f More migrations from genericclioptions to genericiooptions 2023-04-05 17:05:23 +03:00
Pushkar Joglekar
e450ed9812 CVE-2023-27561: Bump runc go module v1.1.4 -> v1.1.5 2023-04-04 21:41:29 -07:00
Hao Ruan
f638e2849f replaced spew.Sprintf with a util pretty print function 2023-03-27 09:24:22 +08:00
Taahir Ahmed
6a75e7c40c ClusterTrustBundles: Define types
This commit is the main API piece of KEP-3257 (ClusterTrustBundles).

This commit:

* Adds the certificates.k8s.io/v1alpha1 API group
* Adds the ClusterTrustBundle type.
* Registers the new type in kube-apiserver.
* Implements the type-specfic validation specified for
  ClusterTrustBundles:
  - spec.pemTrustAnchors must always be non-empty.
  - spec.signerName must be either empty or a valid signer name.
  - Changing spec.signerName is disallowed.
* Implements the "attest" admission check to restrict actions on
  ClusterTrustBundles that include a signer name.

Because it wasn't specified in the KEP, I chose to make attempts to
update the signer name be validation errors, rather than silently
ignored.

I have tested this out by launching these changes in kind and
manipulating ClusterTrustBundle objects in the resulting cluster using
kubectl.
2023-03-15 20:10:18 -07:00
Igor Velichkovich
5e5b3029f3
Matchconditions admission webhooks alpha implementation for kep-3716 (#116261)
* api changes adding match conditions

* feature gate and registry strategy to drop fields

* matchConditions logic for admission webhooks

* feedback

* update test

* import order

* bears.com

* update fail policy ignore behavior

* update docs and matcher to hold fail policy as non-pointer

* update matcher error aggregation, fix early fail failpolicy ignore, update docs

* final cleanup

* openapi gen
2023-03-14 20:28:26 -07:00
Kubernetes Prow Robot
815b1bf0d8
Merge pull request #116558 from klueska/update-dra-kubeletplugin-v1alpha2
Update kubeletplugin API for DRA to v1alpha2
2023-03-14 19:27:06 -07:00
Kubernetes Prow Robot
15040e1c86
Merge pull request #115123 from aramase/v2beta1
[KMSv2] Generate proto API and update feature gate for beta
2023-03-14 19:26:25 -07:00
Kubernetes Prow Robot
6df64241d0
Merge pull request #116598 from natasha41575/updateKustV5
Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0…
2023-03-14 17:44:55 -07:00
Anish Ramasekar
ad698cc0ae
[KMSv2] Generate proto API and update feature gate for beta
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2023-03-14 23:18:16 +00:00
Kevin Klues
579295e727 Update kubeletplugin API for DynamicResourceAllocation to v1alpha2
This PR makes the NodePrepareResources() and NodeUnprepareResource()
calls of the kubeletplugin API for DynamicResourceAllocation
symmetrical. It wasn't clear how one would use the set of CDIDevices
passed back in the NodeUnprepareResource() of the v1alpha1 API, and the
new API now passes back the full ResourceHandle that was originally
passed to the Prepare() call. Passing the ResourceHandle is strictly
more informative and a plugin could always (re)derive the set of
CDIDevice from it.

This is a breaking change, but this release is scheduled to break
multiple APIs for DynamicResourceAllocation, so it makes sense to do
this now instead of later.

Signed-off-by: Kevin Klues <kklues@nvidia.com>
2023-03-14 23:09:44 +00:00
Patrick Ohly
fe59e091eb dependencies: ginkgo v2.9.1, gomega v1.27.4
They contain some nice-to-have improvements (for example, better printing of
errors with gomega/format.Object) but nothing that is critical right now.

"go mod tidy" was run manually in
staging/src/k8s.io/kms/internal/plugins/mock (https://github.com/kubernetes/kubernetes/pull/116613
not merged yet).
2023-03-14 22:26:27 +01:00
natasha41575
09e6e4db1d Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0.13.2, kustomize/v5.0.1 2023-03-14 11:40:28 -05:00
Kubernetes Prow Robot
fcf5d23e68
Merge pull request #96275 from swatisehgal/noderesourcetopology
Remove NodeResourceTopology API from staging
2023-03-14 06:00:17 -07:00
Swati Sehgal
4c8ee8e00e noderesourcetopology-api: Vendor update
Generated by running:

```
./hack/updater-vendor.sh
```

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2023-03-14 13:03:01 +05:30
Patrick Ohly
29941b8d3e api: resource.k8s.io v1alpha1 -> v1alpha2
For Kubernetes 1.27, we intend to make some breaking API changes:
- rename PodScheduling -> PodSchedulingHints (https://github.com/kubernetes/kubernetes/issues/114283)
- extend ResourceClaimStatus (https://github.com/kubernetes/enhancements/pull/3802)

We need to switch from v1alpha1 to v1alpha2 for that.
2023-03-14 07:52:03 +01:00
Monis Khan
ba471884fb
Explicit bump to go 1.20
Signed-off-by: Monis Khan <mok@microsoft.com>
2023-03-13 12:47:36 -04:00
Joseph Anttila Hall
31e1df9ae6
Bump Konnectivity to 0.1.2 2023-03-10 12:48:25 -08:00
Kubernetes Prow Robot
a034962173
Merge pull request #116349 from apelisse/use-smarter-cache
Update kube-openapi to 15aac26d736a
2023-03-09 22:44:02 -08:00
Kubernetes Prow Robot
beacb8d7af
Merge pull request #115480 from alexzielenski/kubectl/explain/openapiv3/alias-legacy
kubectl-explain: add --output plaintext-openapiv2 fallback
2023-03-09 22:42:58 -08:00
Kubernetes Prow Robot
e8ae6658ed
Merge pull request #115065 from apelisse/apimachinery-managed-fields
managedfields: Move most of fieldmanager package to managefields
2023-03-09 21:34:22 -08:00
Alexander Zielenski
9dec9e04cc update vendor modules 2023-03-09 11:54:24 -08:00
Antoine Pelisse
9bbdb9f130 Update kube-openapi to 15aac26d736a 2023-03-09 11:29:40 -08:00
Antoine Pelisse
4f3859ce91 managedfields: Move most of fieldmanager package to managefields 2023-03-08 13:44:00 -08:00
Davanum Srinivas
b50d9d1e28
Cleanup vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2023-03-07 10:27:15 -05:00
Cici Huang
244c63a2e6 Apply resource constraints to ValidatingAdmissionPolicy. 2023-03-06 20:43:59 +00:00
torredil
6aebda9b1e Remove AWS legacy cloud provider + EBS in-tree storage plugin
Signed-off-by: torredil <torredil@amazon.com>
2023-03-06 14:01:15 +00:00
Kubernetes Prow Robot
30df862563
Merge pull request #115119 from seans3/openapi-query-param-v3
Open API V3 version of QueryParamVerifier
2023-03-06 04:40:29 -08:00
Kubernetes Prow Robot
253ab3eda7
Merge pull request #116162 from apelisse/update-openapi
Update kube-openapi to afdc3dddf62d31f5e3868d699379c571a6007920
2023-03-03 12:29:09 -08:00
Antoine Pelisse
736123f447 Update kube-openapi to afdc3dddf62d31f5e3868d699379c571a6007920 2023-03-03 08:43:44 -08:00
Sean Sullivan
e2ea40e5fb Open API V3 version of QueryParamVerifier 2023-03-02 23:12:05 -08:00
David Porter
28e9775fd5 deps: Update github.com/coreos/go-systemd/v22 to v22.4.0
Update github.com/coreos/go-systemd/v22 to v22.4.0 which introduces
`GetUnitNameByPID`. This function will be used in node e2e to get the
container runtime systemd unit name.

Performed by:

$ hack/pin-dependency.sh github.com/coreos/go-systemd/v22  v22.4.0
$ hack/update-vendor.sh

Signed-off-by: David Porter <david@porter.me>
2023-03-02 19:33:55 -08:00
Kubernetes Prow Robot
d788d436c9
Merge pull request #115893 from mgoltzsche/go-jose-update-2.6
bump go-jose to v2.6.0
2023-03-01 20:23:06 -08:00