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
3a52f8bcc6
Merge pull request #108477 from aojea/integration_test_trun
...
integration: run test cases in eachs own subtest
2022-03-03 07:21:48 -08:00
Jordan Liggitt
616ac2f2d0
Clean up unused configurable categories
2022-03-03 09:27:38 -05:00
Kubernetes Prow Robot
f757ab13af
Merge pull request #108386 from sulunemre/patch-1
...
Fix typo in bug report template
2022-03-03 06:01:48 -08:00
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
Patrick Ohly
ff5558edc3
test: support storage tests with non-standard kubelet root directory
...
Some storage tests deploy DaemonSets which hard-code /var/lib/kubelet as root
directory for kubelet registration and pod directory. There was already a
parameter which allowed specifying the root directory, just with a very
confusing name ("--volume-dir") and matching field name. A --kubelet-root-dir
parameters gets added because this may make it easier to find the parameter,
with the old name preserved as an alias for the same field for backwards
compatibility.
2022-03-03 12:34:18 +01:00
Abirdcfly
52c87654a1
simplify function MatchProvisioner
...
Change-Id: I15b7507fed50032d0df7a91553ba58f764d92aac
2022-03-03 16:30:20 +08:00
Kubernetes Prow Robot
428ec843a5
Merge pull request #107121 from borgerli/fix-kubelet-config-log
...
1.21 regression: fix regression introduced by PR 100320 - sensitive information would be logged
2022-03-03 00:28:48 -08:00
jlsong01
969cc463ef
kubectl version should fail when given extra arguments
2022-03-03 16:28:37 +08:00
Antonio Ojea
b0600c630d
integration: run tests in eachs own process
2022-03-03 08:19:14 +01: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
6f1612dcae
Merge pull request #108410 from Haleygo/fix-dryrun-when-ca-existed
...
kubeadm: fix a bug when dry-running with existing ca.key / ca.crt
2022-03-02 21:32:47 -08:00
Haleygo
3bbc2572c5
fix dryrun when ca file exists
2022-03-03 11:53:42 +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
Kubernetes Prow Robot
96656b0e3b
Merge pull request #108456 from dims/enable-specifying-pause-image-in-containerd-config-toml
...
Enable specifying pause image in containerd config.toml
2022-03-02 18:32:46 -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
Kubernetes Prow Robot
16c9d59d2d
Merge pull request #108454 from enj/patch-3
...
Add enj to hack OWNERS
2022-03-02 13:29:13 -08: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
Kubernetes Prow Robot
4fcfc58d1b
Merge pull request #108315 from Monokaix/print-getStaticPodSingleHash-err
...
kubeadm: improve getStaticPodSingleHash error messages
2022-03-02 09:17:14 -08: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
Davanum Srinivas
abdcbb8235
Enable specifying pause image in containerd config.toml
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-02 11:51:06 -05:00
Kubernetes Prow Robot
4737127b57
Merge pull request #108429 from dims/allow-env-var-to-be-remote-url
...
Allow KUBE_TEST_REPO_LIST to be a remote url as well
2022-03-02 08:07:16 -08:00
Mo Khan
4baefef99a
Add enj to hack OWNERS
2022-03-02 10:04:11 -05:00
Kubernetes Prow Robot
88f9728339
Merge pull request #108309 from zshihang/token
...
no auto-generation of secret-based service account token
2022-03-02 06:19:15 -08:00
Quan Tian
906e6d4670
Stop publishing Pod ResourceVersion in Endpoints and EndpointSlice API
...
The field is not used anywhere and its value may be stale as Endpoints
and EndpointSlice won't be updated if there is only Pod ResourceVersion
change..
2022-03-02 22:12:35 +08:00
Kubernetes Prow Robot
422001df8b
Merge pull request #108154 from klueska/fix-topology-manager
...
Update TopologyManager algorithm for selecting "best" non-preferred hint
2022-03-02 04:13:13 -08:00
Humble Chirammal
d727d7db1a
csi: add validation tests for CSIVolumeSource
...
This commit adds the validation tests for CSIVolumeSource explictly.
Also validate driver,nodePublishSecretRef..etc
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-03-02 16:10:18 +05:30
Humble Chirammal
1f0d37c082
csi: add unit tests for {controller,node}Publish name & namespace
...
Extra test conditions are added in CSIPersistentVolumeSource validation
for controllerPublishSecretRef and nodePublishSecretRef name and namespace to check
whether name field or namespace field is missing from the secretRef while
validating CSI PersistentVolumeSource
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-03-02 16:10:11 +05:30
Humble Chirammal
8ae6e10fd0
csi: correct typo and use strings.Repeat func for long driver name
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-03-02 15:50:58 +05:30
Kubernetes Prow Robot
0dc83fe696
Merge pull request #108078 from tnqn/endpoints-resync
...
Skip updating Endpoints if no relevant fields change
2022-03-01 23:23:13 -08:00
Davanum Srinivas
08af9935a5
fix broken find command
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-01 22:54:31 -05: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
XuzhengChang
7824316e89
Print getStaticPodSingleHash err message
2022-03-02 09:34:12 +08:00
Kubernetes Prow Robot
2de37aa9fa
Merge pull request #108276 from AllenZMC/improve_util_test_coverage
...
improve test coverage
2022-03-01 16:57:13 -08:00
Kubernetes Prow Robot
604ab4fc6c
Merge pull request #108340 from ArangoGutierrez/misspelled/1
...
Fix typo in pkg/kubelet/pluginmanager/cache/actual_state_of_world
2022-03-01 15:45:55 -08:00
Kubernetes Prow Robot
5d6a793221
Merge pull request #96828 from panjf2000/opt-epoll-eventfd
...
kubelet/eviction: eliminate redundant allocations when handling eventfd
2022-03-01 13:59:54 -08:00
Stephen Heywood
5597b0c4fb
Promote replace podtemplate e2e test to Conformance
2022-03-02 10:33:02 +13:00
Kubernetes Prow Robot
bed430d337
Merge pull request #108389 from serathius/etcd-v3.6.0-alpha.0
...
Start building etcd v3.6.0-alpha.0 image for scalability tests
2022-03-01 12:50:06 -08:00
Kubernetes Prow Robot
66daef4aa7
Merge pull request #108167 from jfremy/fix-107973
...
Fix nodes volumesAttached status not being updated
2022-03-01 12:49:54 -08:00
Davanum Srinivas
6f3765b731
Allow KUBE_TEST_REPO_LIST to be a remote url as well
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-01 13:44:51 -05:00
Kubernetes Prow Robot
8ab0a59394
Merge pull request #108417 from dims/log-where-we-pull-images-from
...
Log where we pull images from in an e2e test
2022-03-01 10:16:07 -08:00
Kubernetes Prow Robot
0e8e307567
Merge pull request #106570 from odinuge/fix-cpu-shares-on-big-systems
...
Fix cpu share issues on systems with large amounts of cpu
2022-03-01 10:15:55 -08:00
Kevin Klues
e370b7335c
Add extensive unit testing for TopologyManager hint generation algorithm
...
Signed-off-by: Kevin Klues <kklues@nvidia.com>
2022-03-01 17:30:24 +00: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
c67a19dde9
Merge pull request #108408 from aojea/integration_leaks
...
integration framework: log number of leaked goroutines
2022-03-01 08:53:59 -08:00
Kubernetes Prow Robot
46e78c1b80
Merge pull request #108407 from kerthcet/feature/graduate-defaultPodTopologySpread-to-ga-in-kube-feature
...
update feature gate DefaultPodTopologySpread release note
2022-03-01 08:53:47 -08:00