Commit Graph

107235 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
72232dfb43
Merge pull request #108473 from Abirdcfly/master
simplify function MatchProvisioner
2022-03-03 10:43:59 -08:00
Kubernetes Prow Robot
7c6f09e4b0
Merge pull request #106565 from kerthcet/feature/addd-several-testcases-to-cover-priority-admission
add several testcases to cover PriorityClass admission veeifications
2022-03-03 10:43:48 -08:00
Davanum Srinivas
91ade9f318
Switch pv-recycler container image to debian-base
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-03 13:37:17 -05:00
Abirdcfly
9a626ce4d0 cleanup: delete unused func NewNodeInfoLister
Change-Id: I1fb0d92d952b5cbf61633936a0c05f639f4f9600
2022-03-04 01:43:20 +08:00
Kubernetes Prow Robot
85c43df3f6
Merge pull request #104244 from dgrisonnet/bootstrap-hpa-external-metrics
Add bootstrap policy for HPA external metrics
2022-03-03 08:43:48 -08:00
Abirdcfly
e35cfbb5a7 fix: some function should pass context parameter
Change-Id: Ib509573a72c8bd0c61233ade415fef470c61bf5f
2022-03-04 00:42:45 +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
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
kkkkun
36ed148761 sort custom column print flags 2022-03-03 22:31:58 +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
ravisantoshgudimetla
8a8cd18b4f Generated: PodOS field to beta 2022-03-02 14:49:47 -05: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
HirazawaUi
279fd9abe8 After adding or deleting an ipset entry error, the cause of the error will be displayed 2022-03-02 21:51:20 +08:00
ialidzhikov
ee2530ffd4 apiserver: Remove the deprecated --deserialization-cache-size flag
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2022-03-02 15:33:21 +02: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
ravisantoshgudimetla
905ab6866b Promote PodOS field to beta 2022-03-01 20:26:41 -05: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