Commit Graph

15338 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
9d512581b8 Merge pull request #108643 from liggitt/cobra
Update cobra to v1.4.0
2022-03-10 19:23:08 -08:00
cici37
7572b26fba Bump cel-go to v0.10.1 2022-03-10 14:50:35 -08:00
Jordan Liggitt
60b9af476f Update cobra to v1.4.0 2022-03-10 16:19:43 -05:00
jupblb
94c92f78e5 Remove apf_fd from httplog
Since flowDistinguisher may hold data identifying a user accessing the
cluster this can be a source of a PII leak.
2022-03-10 12:59:00 +01:00
Kubernetes Prow Robot
b90bddfd9f Merge pull request #108204 from kevindelgado/field-validation-crd-unit-tests
Field validation CRD benchmarks and decoder unit tests
2022-03-09 20:01:35 -08:00
Lee Verberne
90956e6d3e Print kubectl debug messages received when starting a container (#108591)
* kubectl debug: print container messages

This provides feedback to the user, for example that the server is
unable to pull the debug container image.

* Label debug container updates as warnings

Co-authored-by: Eddie Zaneski <eddiezane@gmail.com>

Co-authored-by: Eddie Zaneski <eddiezane@gmail.com>
2022-03-09 17:51:35 -08:00
Kubernetes Prow Robot
9946b5364e Merge pull request #108252 from wojtek-t/avoid_object_deep_copies
Avoid deep-copying object when possible on kube-apiserver watch path
2022-03-09 00:26:12 -08:00
Kubernetes Prow Robot
bbc2dbb980 Merge pull request #108000 from RomanBednar/af-namespace-fix
AzureFile: Volume without secretNamespace fails to mount after translating to CSI
2022-03-08 22:00:21 -08:00
Kubernetes Prow Robot
19935de5a9 Merge pull request #107410 from margocrawf/master
Ensure static certs in kubeconfig override exec plugin
2022-03-08 11:34:21 -08:00
Kubernetes Prow Robot
c964ef8d8a Merge pull request #108576 from jpbetz/cel-0_10_0
Bump to CEL v0.10.0 and update tests and usage
2022-03-08 07:06:33 -08:00
carlory
fcc282f9f2 remove audit.k8s.io/v1[alpha|beta]1 versions 2022-03-08 14:37:26 +08:00
Joe Betz
dd00a432b5 Add tests demonstrating numeric comparisons and int-or-string behavior 2022-03-07 22:59:43 -05:00
Joe Betz
2a6b85c395 Bump cel-go to v0.10.0 2022-03-07 20:47:04 -05:00
Margo Crawford
f015fd66ce Check whether static cert is already configured in UpdateTransportConfig
- Also update test-cmd.sh to pass a signing ca to the kube controller
  manager, so CSRs work properly in integration tests.

Signed-off-by: Margo Crawford <margaretc@vmware.com>
2022-03-07 13:54:32 -08:00
Kubernetes Prow Robot
f93be6584e Merge pull request #108426 from deads2k/e2e-check
add resource enablement check for e2e tests of beta APIs
2022-03-07 11:34:26 -08:00
David Eads
8ab8d05cc4 add resource enablement check for e2e tests of beta APIs 2022-03-07 13:31:37 -05:00
Wojciech Tyczyński
779f157ecf Fix potential race in dispatching watch event 2022-03-07 18:46:24 +01:00
Wojciech Tyczyński
0cb3a02bbe Avoid perfoming deep copies in watchcache if not needed 2022-03-07 18:46:24 +01:00
Wojciech Tyczyński
7e434682e4 Prepare apiserver for operating on cached objects by not modifying them 2022-03-07 18:44:20 +01:00
Kubernetes Prow Robot
170a9c050f Merge pull request #106525 from dgrisonnet/sanitize-forwarded-uri
apimachinery/pkg/util/proxy: escape forwarded URI
2022-03-07 09:22:53 -08:00
Kubernetes Prow Robot
ad46b4f921 Merge pull request #108457 from ialidzhikov/cleanup/target-ram-mb
apiserver: Remove the deprecated `--target-ram-mb` flag
2022-03-07 02:38:53 -08:00
Kubernetes Prow Robot
5b9910a574 Merge pull request #107977 from brianpursley/user-completion
Add unit tests for cluster, context, and user command line completion functions
2022-03-04 21:42:51 -08:00
Kubernetes Prow Robot
82755e3cb2 Merge pull request #108437 from andrewsykim/bump-konnectivity-v0.0.29
bump konnectivity-client@v0.0.30
2022-03-04 15:35:21 -08:00
Kubernetes Prow Robot
1160923ae6 Merge pull request #108423 from ialidzhikov/cleanup/experimental-encryption-provider-config
apiserver: Remove the deprecated `--experimental-encryption-provider-config` flag
2022-03-04 15:35:14 -08:00
Kubernetes Prow Robot
c71f9465b1 Merge pull request #108314 from wking/avoid-drain-controller-assumptions
kubectl drain: Generic "declare a controller" message
2022-03-04 15:35:02 -08:00
Kubernetes Prow Robot
c2d2e66535 Merge pull request #106830 from pacoxu/StreamingProxyRedirects-remove
remove ValidateProxyRedirects and StreamingProxyRedirects
2022-03-04 14:19:53 -08:00
Andrew Sy Kim
00e222579c bump sigs.k8s.io/apiserver-network-proxy/konnectivity-client@v0.0.30
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-03-04 14:20:44 +00:00
Kubernetes Prow Robot
a330194601 Merge pull request #107967 from jlsong01/check_kubectl_version_extra_arguments
kubectl version should fail when given extra arguments
2022-03-03 22:26:52 -08:00
Kubernetes Prow Robot
04c8807f1f Merge pull request #107141 from mk46/ttl
Increase default value of cache TTL to 6 hours.
2022-03-03 19:50:55 -08:00
Ben Luddy
fedaa23f24 Forbid CEL transition rules on unmergeable CRD subschemas.
Transition rules (i.e. validation rules whose expressions reference
existing state) are not allowed on schemas, or the descendants of
schemas, that are unmergeable according to server-side apply
semantics. Today, this means that only objects with map-type
"granular" (or unspecified) and arrays with list-type "map" support
transition rules on their property/item subschemas.
2022-03-03 11:15:23 -05:00
Damien Grisonnet
c7a0f5b81e pkg/util/proxy: escape redirect URL
Escape the redirect URL written in the Location HTTP header for
correctness purposes.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2022-03-03 17:01:55 +01:00
Manish Kumar
94f7f92205 Increase default value of cache TTL to 6 hours. 2022-03-03 21:30:26 +05:30
Kubernetes Prow Robot
52cd4d53ac Merge pull request #108347 from tkashem/refactor
client-go: refactor retry logic for backoff, rate limiter and metric to be reused by Watch, Stream, and Do
2022-03-03 04:25:47 -08:00
jlsong01
969cc463ef kubectl version should fail when given extra arguments 2022-03-03 16:28:37 +08:00
Kubernetes Prow Robot
a83bb7746c Merge pull request #108312 from jpbetz/stdlib
Add CEL function library
2022-03-02 22:40:48 -08:00
Kubernetes Prow Robot
306d7724dd Merge pull request #107363 from eddiezane/ez/kubectl-1118-crd-error
Improve error message for missing CRDs
2022-03-02 19:46:47 -08:00
Joe Betz
fd5ae0451d Add stdlib of CEL functions to Kubernetes that extends the standard library provided by CEL 2022-03-02 20:27:21 -05:00
Eddie Zaneski
dfcc141c91 Improve error message for missing CRDs
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2022-03-02 13:59:23 -07:00
Abu Kashem
cecc563d3b client-go: refactor retry logic for backoff, rate limiter and metric 2022-03-02 14:38:30 -05:00
Damien Grisonnet
6b368c5031 apimachinery/pkg/util/proxy: escape forwarded URI
Escape the forwarded URI set in the round-tripper to prevent any kind of
malicious injection into the "X-Forwarded-Uri" header.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2022-03-02 18:54:59 +01:00
ialidzhikov
bdbc750129 apiserver: Remove the deprecated --target-ram-mb flag
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-03-02 18:52:46 +02:00
Kubernetes Prow Robot
7852ba093d Merge pull request #108228 from AllenZMC/imporve_code_specification
fix defer in for loop, maybe resource leak
2022-03-01 19:27:13 -08:00
ialidzhikov
244bf1bd69 apiserver: Remove the deprecated --experimental-encryption-provider-config flag
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-03-01 19:21:18 +02:00
Kubernetes Prow Robot
5ee80dee04 Merge pull request #108296 from aojea/client_go_size_metrics
client-go: add request and response size metrics
2022-02-28 14:27:46 -08:00
Kubernetes Prow Robot
cc4c95181e Merge pull request #108187 from stevekuznetsov/skuznets/storage-tests-diff
storage: etcd: use cmp.Diff for comparisons
2022-02-28 10:08:57 -08:00
Steve Kuznetsov
dfdd486f09 storage: etcd: use cmp.Diff for comparisons
This commit simply modernizes the comparisons made in the storage tests
to use `cmp.Diff()` so that pointer comparisons and length checks do not
have to be made by hand. We also get nice diffs in the test output this
way instead of large pasted blobs.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2022-02-28 08:41:45 -08:00
Kubernetes Prow Robot
bf7b9119f0 Merge pull request #108278 from kerthcet/feature/graduate-defaultPodTopologySpread-to-ga
graduate default pod topology spread to ga
2022-02-28 08:02:57 -08:00
Antonio Ojea
64d9d0585f client-go: add request and response size metrics
Get metrics for the request and response  size, so we can correlate latency
and size on a request, otherwise we could get confused because we don't know if the
network is slow or just the request size huge.
2022-02-28 16:59:12 +01:00
Kubernetes Prow Robot
05a71be79d Merge pull request #108365 from liggitt/fix-proto-gen
Fix proto gen
2022-02-26 11:17:23 -08:00
Jordan Liggitt
48a1c729a0 Regenerate protobuf
Change-Id: I2a563514955d7fc7559ceb7afb73df08ace8fd8b
2022-02-26 18:02:52 +00:00