Commit graph

2836 commits

Author SHA1 Message Date
Antonio Ojea
0b0a5974f8 integration test: webhook proxy behavior
adds a new integration test to verify that the API server's egress
to admission webhooks correctly respects the standard `HTTPS_PROXY`
and `NO_PROXY` environment variables.

It adds a new test util to implement a Fake DNS server that allows
to override DNS resolution in tests, specially useful for integration
test that can only bind to localhost the servers, that is ignored
by certain functionalities.
2025-10-02 22:31:08 +00:00
Jefftree
37592a026b bump gengo 2025-09-22 18:54:58 +00:00
Davanum Srinivas
736f7b9a1b update to latest sigs.k8s.io/json 2025-09-18 20:55:31 -04:00
Paco Xu
d7a2793fa6 bump system-validators to v1.11.1 2025-09-18 15:48:36 +08:00
Benjamin Elder
563d4d651c bump go language version to 1.25 2025-09-17 14:56:07 -07:00
Kubernetes Prow Robot
1d80f35350
Merge pull request #132791 from bitoku/cpu-weight
Update pod resize test to accept new cpu.weight conversion.
2025-09-11 16:20:08 -07:00
Joe Betz
8b63ace66c Bump kube-openapi
Signed-off-by: Joe Betz <jpbetz@google.com>
2025-09-10 15:52:57 -04:00
Davanum Srinivas
bdfca587f4 update prometheus' client_golang and common packages 2025-09-09 15:43:08 -04:00
Tim Hockin
5f4b4a6824
Bump gengo 2025-09-03 08:24:17 -07:00
Davanum Srinivas
a41de8771a Bump github.com/spf13/cobra v1.10.0 2025-09-01 11:21:11 -04:00
Davanum Srinivas
6ddf6261d4 Update to spf13/pflag to prevent CI break 2025-09-01 08:21:12 -04:00
Ayato Tokubi
799312a402 Update pod resize test to accept new cpu.weight conversion.
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-08-29 16:39:18 +00:00
Jordan Liggitt
9f8d9432e2
bump gopkg.in/evanphx/json-patch.v4 2025-08-29 00:31:11 -04:00
Kubernetes Prow Robot
546519987d
Merge pull request #132288 from thevilledev/chore/coredns-v1.12.2
chore: update CoreDNS to v1.12.3
2025-08-28 06:55:10 -07:00
Stephen Kitt
684473af62
Bump cadvisor to 0.53
This brings a few fixes, drops github.com/pkg/errors (as a direct
dependency), and bumps many transitive dependencies. The
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp bump to
v0.61.0 breaks "k8s.io/kubernetes/test/integration/apiserver: tracing"
consistently, so it's held back for now.

github.com/containerd/containerd/api pulls in gopkg.in/yaml.v3 so that
needs to be added to the exceptions in unwanted-dependencies.json.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2025-08-28 09:20:21 +02:00
Ville Vesilehto
aa819af85a
chore: update CoreDNS to v1.12.3
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-08-13 08:52:10 +03:00
Ivan Valdes
57ceb56c6f
Bump etcd sdk to v3.6.4 2025-07-25 14:09:41 -07:00
Kubernetes Prow Robot
1451dd1b08
Merge pull request #132942 from thockin/kyaml
Add KYAML support to kubectl
2025-07-24 17:59:06 -07:00
Kubernetes Prow Robot
dfc0998baa
Merge pull request #132935 from benluddy/cbor-bump-custom-marshalers
KEP-4222: Adopt text and JSON transcoding support for CBOR.
2025-07-24 13:04:49 -07:00
Tim Hockin
7adcd21148
Replace cmd/yamlfmt with k-sigs/yaml/yamlfmt
And run it.
2025-07-24 12:11:04 -07:00
Tim Hockin
2cb955d8cc
Add KYAML support to kubectl
KYAML is a strict subset of YAML, which is sort of halfway between YAML
and JSON.  It has the following properties:
* Does not depend on whitespace (easier to text-patch and template).
* Always quotes value strings (no ambiguity aroud things like "no").
* Allows quoted keys, but does not require them, and only quotes them if
  they are not obviously safe (e.g. "no" would always be quoted).
* Always uses {} for structs and maps (no more obscure errors about
  mapping values).
* Always uses [] for lists (no more trying to figure out if a dash
  changes the meaning).
* When printing, it includes a header which makes it clear this is YAML
  and not ill-formed JSON.
* Allows trailing commas
* Allows comments,
* Tries to economize on vertical space by "cuddling" some kinds of
  brackets together.
* Retains comments.

Examples:

A struct:

```yaml
metadata: {
  creationTimestamp: "2024-12-11T00:10:11Z",
  labels: {
    app: "hostnames",
  },
  name: "hostnames",
  namespace: "default",
  resourceVersion: "15231643",
  uid: "f64dbcba-9c58-40b0-bbe7-70495efb5202",
}
```

A list of primitves:

```yaml
ipFamilies: [
  "IPv4",
  "IPv6",
]
```

A list of structs:

```yaml
ports: [{
  port: 80,
  protocol: "TCP",
  targetPort: 80,
}, {
  port: 443,
  protocol: "TCP",
  targetPort: 443,
}]
```

A multi-document stream:

```yaml
---
{
  foo: "bar",
}
---
{
  qux: "zrb",
}
```
2025-07-24 11:47:03 -07:00
Tim Hockin
8182a27f3b
Re-vendor sigs.k8s.io/yaml @ v1.6.0 2025-07-24 11:46:03 -07:00
koba1t
ee8ef383be Update kubectl kustomize to kyaml/v0.20.1, cmd/config/v0.20.1, api/v0.20.1, kustomize/v5.7.1 2025-07-23 22:37:19 +09:00
Ben Luddy
917659269a
Bump to github.com/fxamacker/cbor/v2 v2.9.0. 2025-07-22 15:15:17 -04:00
Cici Huang
cedcbfb94c Update cel-go to v0.26.0 2025-07-17 20:09:03 +00:00
Jordan Liggitt
4d34975a46 sigs.k8s.io/structured-merge-diff/v6 v6.3.0 2025-07-17 09:56:28 +02:00
Davanum Srinivas
ebc1ccc491
Bump k8s.io/kube-openapi to latest SHA (f3f2b991d03b)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-14 07:24:48 -04:00
PatrickLaabs
c530b02257 chore: depr. pointer pkg replacement for pkg/security and plugin/pkg 2025-07-08 11:22:07 +02:00
Kubernetes Prow Robot
e47ac3eb6f
Merge pull request #132675 from dims/bump-sigs-k8s-io-json-no-code-changes
Bump sigs.k8s.io/json to latest - no code changes
2025-07-02 15:03:23 -07:00
Kubernetes Prow Robot
305c0e06c9
Merge pull request #132677 from dims/update-github.com/emicklei/go-restful/v3-to-v3.12.2
Update github.com/emicklei/go-restful/v3 to v3.12.2
2025-07-02 13:41:23 -07:00
Davanum Srinivas
b44b0fbf12
Update github.com/emicklei/go-restful/v3 to v3.12.2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-02 08:00:43 -04:00
Davanum Srinivas
58e620cc44
Bump go.yaml.in/yaml/v3 to v3.0.4
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-02 07:37:06 -04:00
Davanum Srinivas
00f8cbae6b
Bump sigs.k8s.io/json to latest - no code changes
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-07-02 07:32:24 -04:00
Jefftree
d04ee27c98 Update vendor 2025-07-01 15:23:58 +00:00
Kubernetes Prow Robot
c1afec6a0b
Merge pull request #132357 from dims/drop-usage-of-forked-copies-of-goyaml.v2-and-goyaml.v3
Drop usage of forked copies of goyaml.v2 and goyaml.v3
2025-06-25 09:48:29 -07:00
Davanum Srinivas
c5b4b133ce
switch to latest sigs.k8s.io/yaml v1.5.0 (run update-gofmt.sh as well)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-25 11:42:12 -04:00
Joe Betz
dc323756ce Bump to latest kube-openapi 2025-06-24 09:24:27 -04:00
Davanum Srinivas
3827d3bc4f
Drop usage of forked copies of goyaml.v2 and goyaml.v3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-17 11:00:27 -04:00
Davanum Srinivas
3908550c0d
Update to latest github.com/modern-go/reflect2
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-12 11:20:39 -04:00
Davanum Srinivas
5a2844a766
Update to etcd v3.6.1 in vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-11 16:46:03 -04:00
Davanum Srinivas
449320a54a
update github.com/spf13/cobra v1.9.1
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-10 10:50:54 -04:00
Kubernetes Prow Robot
5090812df4
Merge pull request #132103 from nojnhuh/typed-ring-buffer
Replace queue.FIFOs with k8s.io/utils/buffer.Ring
2025-06-06 10:26:39 -07:00
Joe Betz
ac5cb23000 Bump gengo/v2 to latest 2025-06-04 22:39:08 -04:00
Jon Huhn
8cdbbf5cda Update k8s.io/utils for new generic ring buffer 2025-06-04 12:56:39 -05:00
Davanum Srinivas
7c0f968ab2
Drop usages of deprecated otelgrpc methods
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-26 08:32:09 -04:00
Kubernetes Prow Robot
8a0f6370e4
Merge pull request #131941 from dims/update-to-latest-ishidawataru/sctp-dependency
update to latest ishidawataru/sctp dependency
2025-05-26 04:30:29 -07:00
Davanum Srinivas
1ffda045cb
update to latest ishidawataru/sctp dependency
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-23 07:44:49 -07:00
Lubomir I. Ivanov
7287dcd2fb vendor: update system-validators to v1.10.1 2025-05-23 09:18:33 +03:00
Kubernetes Prow Robot
8aae5398b3
Merge pull request #131881 from neolit123/1.34-update-system-validators-to-v1.10.0
vendor: update system-validators to v1.10.0
2025-05-21 09:22:41 -07:00
Adrian Moisey
32c45ecf10
Bump github.com/vishvananda/netlink to v1.3.1
hack/pin-dependency.sh github.com/vishvananda/netlink v1.3.1
hack/update-vendor.sh
2025-05-21 13:10:02 +02:00