Commit Graph

10792 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
37ec23c437 Merge pull request #92139 from ash2k/ash2k/fix-clientConfig-data-race
Fix client config data race
2020-06-18 06:02:19 -07:00
Kubernetes Prow Robot
2001383994 Merge pull request #92133 from knight42/refactor/move-kubectl-out
refactor: move kubectl-cp to staging
2020-06-18 06:02:05 -07:00
Nikhita Raghunath
72ab11193a client-go: add ProxyGet expansion method for pods
Currently, the proxy subresource is not supported for pods in client-go.
Today, invoking this requires using the REST client directly.

To make using the proxy resource easier, this commit adds a ProxyGet
method for pods in pod_expansion.go similar to the ProxyGet method
for services in service_expansion.go.

Ref: d8febccacf/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service_expansion.go
2020-06-18 16:28:23 +05:30
Kubernetes Prow Robot
d8febccacf Merge pull request #90523 from sttts/sttts-security-contacts
Add myself to staging repo SECURITY_CONTACTS
2020-06-18 01:08:07 -07:00
andyzhangx
5f710324cb test: add unit test 2020-06-18 08:03:19 +00:00
andyzhangx
3f9ca0a320 fix: use force detach for azure disk
revert attach disk change

revert some change

fix: should not filter out disk in attach azure disk
2020-06-18 08:03:17 +00:00
AkashSarda
af60e7b34d Migrate API server logs to Structured logging framewrok 2020-06-17 21:06:35 +00:00
Monis Khan
6039451d35 Force token cache to support audit annotations
Signed-off-by: Monis Khan <mok@vmware.com>
2020-06-17 15:54:51 -04:00
Chelsey Chen
e0e12f25c9 Move fallback of Event API into new event lib 2020-06-17 15:46:27 -04:00
Yang Yang
549f9f35d4 refine aws loadbalancer worker node SG rule logic 2020-06-17 10:48:08 -07:00
Marek Siarkowicz
3c761478b9 Update logging format flag help 2020-06-17 19:39:55 +02:00
Kubernetes Prow Robot
1da70ed0fc Merge pull request #91616 from knight42/feat/port-forward-warn-udp
feat(port-forward): warn users about UDP port
2020-06-17 07:48:39 -07:00
Yang Yang
baffba16b8 fix aws loadbalancer vpc cidr calculation 2020-06-17 07:34:03 -07:00
David Eads
923c4b4817 fix the timeline for CRD v1beta1 removal 2020-06-17 08:26:30 -04:00
Robert Van Voorhees
3cef97e8b5 [security] Vulnerability in golang.org/x/text/encoding/unicode v0.3.2
Hello gophers,

Version v0.3.3 of golang.org/x/text fixes a vulnerability in the golang.org/x/text/encoding/unicode package which could lead to the UTF-16 decoder entering an infinite loop, causing the program to crash or run out of memory.

An attacker could provide a single byte to a UTF16 decoder instantiated with UseBOM or ExpectBOM to trigger an infinite loop if the String function on the Decoder is called, or the Decoder is passed to golang.org/x/text/transform.String.

transform.String has also been hardened not to enter an infinite loop if a Transformer keeps returning ErrShortSrc even if atEOF is true.

This issue was first filed as Issue 39491 by GitHub user abacabadabacaba and reported to the security team by Anton Gyllenberg. It is tracked as CVE-2020-14040.

Cheers,

Katie for the Go team
2020-06-17 07:57:05 -04:00
Kubernetes Prow Robot
537a602195 Merge pull request #92185 from erwinvaneyk/sample-server-fix-curl-readme
Fix curl instruction in the sample-apiserver README
2020-06-17 03:46:39 -07:00
gongguan
12c838136b remove deprecated cacher CacheCapacity config 2020-06-17 17:44:57 +08:00
Naoki Oketani
c0562815fa Remove --export flag from kubectl get command. 2020-06-17 18:35:03 +09:00
Kubernetes Prow Robot
53f3699cf9 Merge pull request #89778 from cmluciano/cml/ingressv1
ingress: Add Ingress to v1 API and update backend to defaultBackend
2020-06-16 23:10:39 -07:00
v-xuxin
9fa364c80a Enrich the unit tests for azure_standard 2020-06-17 04:01:40 +00:00
Kubernetes Prow Robot
1df459c2d0 Merge pull request #92174 from gongguan/event-gone
restore cacher event Gone tests
2020-06-16 19:24:21 -07:00
Kubernetes Prow Robot
81f84d3a17 Merge pull request #92069 from tapih/update-json-patch
Update github.com/evanphx/json-patch to e83c0a1c26c884f8ec4fb743f6db9…
2020-06-16 19:23:22 -07:00
Kubernetes Prow Robot
b0638ada8c Merge pull request #92005 from tkashem/unexpected-eof
retry on 'unexpected EOF' error
2020-06-16 19:23:13 -07:00
Kubernetes Prow Robot
51aac92f69 Merge pull request #91922 from Jefftree/netproxy-009
Upgrade apiserver-network-proxy to v0.0.9
2020-06-16 19:22:39 -07:00
gongguan
70d49ff0c7 revert InstanceMetadataByProviderID definition and deprecation of related instance functions 2020-06-16 23:40:39 +08:00
David Eads
7f17228634 prevent panic in azure cloud provider from killing the process 2020-06-16 10:43:52 -04:00
andyzhangx
d3a90d1dd0 fix#92167: GetLabelsForVolume panic issue for azure disk PV
fix comments
2020-06-16 14:26:23 +00:00
Danil-Grigorev
9e05554462 Add ability for vSphere to reconnect to cached nodes on secret update or create
- Refactor getNodeInfo to be more descriptive
- Add log output testing for secret update
- Ensure all nodes refreshed on secret change
- Add config option to disable secret management
2020-06-16 15:13:19 +02:00
erwinvaneyk
d852880c54 Fix curl instruction in README of sample-apiserver 2020-06-16 14:41:21 +02:00
Dr. Stefan Schimanski
2c3687c255 apiserver: fix secure serving cast for non-tcp listeners 2020-06-16 13:31:32 +02:00
zhouya0
4b82d5ae08 Remove kubectl run validate replicas logic 2020-06-16 18:22:14 +08:00
gongguan
f3cbfc3f7e restore event Gone test 2020-06-16 18:11:09 +08:00
gongguan
0f7de876a5 improve Clock as Cacher Config 2020-06-16 15:57:55 +08:00
Kubernetes Prow Robot
fd61c3149c Merge pull request #91608 from yuzhiquan/feature-implement-json-logformat
Feature implement json logformat
2020-06-15 23:26:03 -07:00
knight42
1b32dfdafd refactor: move kubectl-cp to staging
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-06-16 11:53:22 +08:00
Kubernetes Prow Robot
dbef5e3e31 Merge pull request #88998 from zhouya0/kubectl_apply_generate_name_error_message
Add kubectl apply generate name error message
2020-06-15 18:13:56 -07:00
Kubernetes Prow Robot
7401f8e2ea Merge pull request #91927 from wangkai1994/fix/replace_whitelist_to_allowed
replace whitelist to allowlist
2020-06-15 14:17:59 -07:00
Abu Kashem
e73fa4a186 retry on 'unexpected EOF' error
'unexpected EOF' is usually a transient error. client-go request
uses IsProbableEOF to determine whether it is going to retry a
failed request.
2020-06-15 10:40:32 -04:00
Kubernetes Prow Robot
17616aa9cc Merge pull request #91160 from gaurav1086/kube_aggregator_fix_goroutine_leak
kube-aggregator: Fix goroutine leak
2020-06-15 05:28:11 -07:00
Mikhail Mazurskiy
609da52afa Fix data race on config.clientConfig
config.clientConfig can have an unlocked read
and a locked write
2020-06-15 21:53:11 +10:00
Kobayashi Daisuke
4ae11dac2e Replace StartLogging(klog.Infof) with StartStructuredLogging(0) 2020-06-15 17:48:35 +09:00
Kobayashi Daisuke
dcaa8d7126 Add an function for Structured Logging function into EventBroatcaster 2020-06-15 17:48:35 +09:00
Kobayashi Daisuke
ed1b83c6de Migrate log to klog.InfoS for staging/src/k8s.io/client-go 2020-06-15 17:48:35 +09:00
Kubernetes Prow Robot
1fa20301a0 Merge pull request #92129 from weijiehu/azure_controller_vmss
Improves unittest CC for azure_controller_vmss
2020-06-15 01:27:56 -07:00
weijiehu
ddbaa0c973 Improves unittest CC for azure_controller_vmss 2020-06-14 23:13:28 -07:00
Kaivalya Shah
9fc229012c gce_instances: Add check for multiple interface addresses in nodeAddresses and nodeAddressesFromInstance 2020-06-15 11:40:15 +05:30
Kubernetes Prow Robot
15e95e4896 Merge pull request #92113 from v-xuxin/enrich-unit-test
Enrich the unit tests for azure_instances
2020-06-14 18:54:10 -07:00
Javier Diaz-Montes
7ef7ce2a3c Adding autogenerated files 2020-06-14 21:26:27 -04:00
Javier Diaz-Montes
4112d8db20 Adding new PodSpec field called setHostnameAsFQDN and SetHostnameAsFQDN gate
These changes add a new field, called setHostnameAsFQDN, to the PodSpec. This
field is a bool that will be used to indicate whether we would like
FQDN be set as hostname or not.

This is PART1 of the changes to enable KEP #1797 and addresses #91036
2020-06-14 21:26:26 -04:00
yuzhiquan
a0f808f4d8 add json logger format
add unit test case

add benchmark test case

fix staticcheck, and response for review comment

remove unnecessary variable

add test case for non-string field or zap-field, refactor code

update vendor
2020-06-14 12:33:09 +08:00