Commit Graph

96685 Commits

Author SHA1 Message Date
Antonio Ojea
6bedf4a98b don´t panic on e2e ESIPP tests
The ESIPP tests are using a function to poll an HTTP endpoint.
This function failed the framework if the request to the http endpoint
timed out, causing a panic that ginkgo couldn´t recover.

Also, this function was used inside a pollImmediate loop, so it should
return the error instead of fail.
2021-01-08 10:52:49 +01:00
Kubernetes Prow Robot
d1db90ba57
Merge pull request #97693 from enj/enj/i/oidc_fast_init
oidc authenticator: attempt to immediately initialize verifier
2021-01-07 18:12:53 -08:00
Kubernetes Prow Robot
0dfa4419a0
Merge pull request #96657 from KobayashiD27/staticcheck_server-storage
fix staticcheck error in vendor/k8s.io/apiserver/pkg/server/storage
2021-01-07 15:04:53 -08:00
Kubernetes Prow Robot
611aff9221
Merge pull request #97702 from jayunit100/patch-21
set numberOfWorkers for netpol suite to the ideal value (3) that is n…
2021-01-07 14:08:54 -08:00
Kubernetes Prow Robot
5150d2f839
Merge pull request #97716 from chengzhycn/syncEndpoint-error-return
proxy/ipvs: return non-nil error when there is no matched IPVS servic…
2021-01-07 12:44:54 -08:00
Kubernetes Prow Robot
84b4569390
Merge pull request #97804 from jayunit100/windows-node-selector
adding windows os selector to the dnsPolicy tests
2021-01-07 11:51:13 -08:00
Kubernetes Prow Robot
466e2e3751
Merge pull request #97678 from JornShen/proxier_iptables_structured_logging
migrate proxy/iptables/proxier.go logs to structured logging
2021-01-07 11:51:05 -08:00
Kubernetes Prow Robot
f2e1ee0500
Merge pull request #97675 from wanghaoran1988/proxy_handler
Add NewProxyHandler func
2021-01-07 11:50:53 -08:00
Kubernetes Prow Robot
7602472a52
Merge pull request #97652 from gavinfish/benchmark-rbac
ApiServer: Add benchmark for ensureRBACPolicy
2021-01-07 10:57:05 -08:00
Kubernetes Prow Robot
e368e1458d
Merge pull request #97446 from chymy/k8s-chgs
CHANGELOG: fix typo
2021-01-07 10:56:53 -08:00
jayunit100
4ddd22c9c9 adding windows os selector to the dnsPolicy tests
adding a feature selector to the windows Describe dns test
2021-01-07 12:41:51 -05:00
jay vyas
ba0a87015a set numberOfWorkers for netpol suite to the ideal value (3) that is non-disruptive 2021-01-07 12:36:19 -05:00
Kubernetes Prow Robot
5a6f9ed550
Merge pull request #97721 from aojea/slicelog
fix slice controller logging for services ipfamily
2021-01-07 09:34:40 -08:00
Kubernetes Prow Robot
e765ab2e7e
Merge pull request #97370 from MikeSpreitzer/relax-apf-controller
Relax apf_controller's reaction to certain errors
2021-01-07 08:17:57 -08:00
Kubernetes Prow Robot
f9c7c59e25
Merge pull request #97451 from pacoxu/fix/cluster-ip-quota
bugfix: nodeport quota check failure result into failing to create a clusterip service
2021-01-07 06:41:45 -08:00
Kubernetes Prow Robot
04b6b7c12b
Merge pull request #97787 from heqg/expect-policy_static_test
fix typo of [expect] in pkg/kubelet/../policy_static_test.go
2021-01-07 00:53:45 -08:00
Kubernetes Prow Robot
c5cc25d1cb
Merge pull request #97615 from wojtek-t/immutable_secrets_ga
Promote Immutable Secrets/ConfigMaps to Stable
2021-01-07 00:03:45 -08:00
Kubernetes Prow Robot
585fc57cc7
Merge pull request #97327 from ii/update-apiservice-test
Update: Write Read Status, Patch & List APIService test +3 endpoints
2021-01-06 23:07:45 -08:00
Kubernetes Prow Robot
dbf3c477a9
Merge pull request #97499 from chrishenzie/remove-setup-informer
CSI attacher test cleanup
2021-01-06 22:17:45 -08:00
he.qingguo
d9368f53ad fix typo of [expect] in pkg/kubelet/../policy_static_test.go
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-07 12:20:03 +08:00
Kubernetes Prow Robot
d5e8aa2d03
Merge pull request #97524 from NillsF/master
Add e2e networkPolicy test to validate egress deny precedence over ingress allow
2021-01-06 19:57:45 -08:00
chengzhycn
c6c74f2a5d proxy/ipvs: return non-nil error when there is no matched IPVS service in syncEndpoint
Signed-off-by: chengzhycn <chengzhycn@gmail.com>
2021-01-07 10:49:04 +08:00
jornshen
07990e44bf migrate proxy/iptables/proxier.go logs to structured logging 2021-01-07 10:48:01 +08:00
Kubernetes Prow Robot
ab8dda3c88
Merge pull request #97736 from knabben/default-deny-egress
Default deny egress with pod label selector
2021-01-06 16:41:50 -08:00
Chris Henzie
736b7e15b7 Remove duplicate test CSI plugin constructor logic 2021-01-06 16:32:41 -08:00
Chris Henzie
359b9e3383 Ensure CSI test plugin informers are synced before returning
This way of syncing informers ensures all informers generated from these
factories are synced. Informers are lazy loaded, and only created once a
user calls .Informer() (which was why the .PollImmediate() worked).
Asserting the number of synced types to ensure everything is set up
correctly.
2021-01-06 16:11:50 -08:00
Chris Henzie
257704b30d Remove setupInformer argument from test CSI plugin constructor 2021-01-06 16:11:50 -08:00
Chris Henzie
70eddfefec Ensure goroutines exit in CSI attacher tests
The reason for adding an expectedVolumeHost field is to prevent a
channel read from hanging when a test fails prior to creating the
VolumeAttachment watch.
2021-01-06 16:11:50 -08:00
Chris Henzie
f098ada9d1 Extract watch reactor out of test CSI plugin constructor 2021-01-06 16:11:50 -08:00
Chris Henzie
195a5af23b Make volume attachment watch timeout configurable for csiAttacher 2021-01-06 16:11:39 -08:00
Chris Henzie
b4e3f272b9 Remove unused waitSleepTime field in csiAttacher 2021-01-06 15:45:56 -08:00
Kubernetes Prow Robot
81b13a912c
Merge pull request #97314 from abowloflrf/patch-1
fix typo in dns.go
2021-01-06 15:21:45 -08:00
pacoxu
15867d9e8a bugfix: check Spec.AllocateLoadBalancerNodePorts for nodeport and skip zero usage in delta evaluator
Signed-off-by: pacoxu <paco.xu@daocloud.io>

When Spec.AllocateLoadBalancerNodePorts is "false" NodePort shall
not be included when computing quota for type:LoadBalancer.

Co-authored-by: uablrek
2021-01-07 07:11:22 +08:00
Kubernetes Prow Robot
3552bb5d8a
Merge pull request #97645 from pandaamanda/kubectl_auth_reconcile_fatal
cleanup: change klog.Fatalf to fmt.Errorf for `kubectl auth reconcile`
2021-01-06 13:53:45 -08:00
xiongzhongliang
3b3a6d27cd cleanup: change klog.Fatalf to fmt.Errorf for kubectl auth reconcile
cleanup: change klog.Fatalf to fmt.Errorf for kubectl auth reconcile

cleanup: change klog.Fatalf to fmt.Errorf for
2021-01-07 06:40:06 +08:00
Kubernetes Prow Robot
24f4fe7c8c
Merge pull request #97571 from mattfenwick/issue-97425
97425: improve netpol comments
2021-01-06 13:05:52 -08:00
Kubernetes Prow Robot
e456b45a2a
Merge pull request #97749 from heqg/errorf-wrap
The code in TestNonePolicyName does not need to wrap, so fix it.
2021-01-06 12:02:04 -08:00
Kubernetes Prow Robot
f7c1f84ad7
Merge pull request #97526 from mattfenwick/patch-1
add OWNERS file to kubernetes/test/e2e/network/netpol
2021-01-06 12:01:52 -08:00
Kubernetes Prow Robot
9c894e23ef
Merge pull request #97618 from jherrera123/issue-94091-remove-docker-remote-build
Remove docker remote / docker-machine from build scripts
2021-01-06 10:55:52 -08:00
Kubernetes Prow Robot
e9353e9a8b
Merge pull request #97740 from prameshj/release-ip
Release reserved GCE IP address after ensure completes, irrespective of outcome.
2021-01-06 08:44:11 -08:00
Kubernetes Prow Robot
5ee1726793
Merge pull request #97532 from pandaamanda/portforward
code cleanup for kubectl port-forward
2021-01-06 08:44:04 -08:00
Kubernetes Prow Robot
6af5fdcf98
Merge pull request #94396 from habibrosyad/patch-92402-10
fix vendor/k8s.io/apimachinery/pkg/runtime staticcheck
2021-01-06 08:43:52 -08:00
Matt Fenwick
5f80d7b3cf add OWNERS file to kubernetes/test/e2e/network/netpol 2021-01-06 11:17:24 -05:00
Kubernetes Prow Robot
eff5b075f1
Merge pull request #97379 from kebe7jun/fix/token-request-proto-name
Fix BoundObjectRef APIVersion proto name
2021-01-06 07:48:04 -08:00
Kubernetes Prow Robot
9e05ef5ba5
Merge pull request #96550 from knight42/chore/set-auth-flags
chore(gce): pass auth flags to KCM and KS
2021-01-06 07:47:52 -08:00
xiongzhongliang
555fa97cda code cleanup for kubectl port-forward
code cleanup for kubectl port-forward

code cleanup for kubectl port-forward
2021-01-06 17:12:19 +08:00
Kubernetes Prow Robot
39483aa095
Merge pull request #96889 from jsafrane/fix-kubelet-symlink
Fix loopback device lookup
2021-01-05 20:57:51 -08:00
Jian Zeng
8c1971e17c chore(gce): pass auth flags to KCM and KS
Pass flags `--authentication-kubeconfig` and
`--authorization-kubeconfig` to controller-manager and scheduler,
so that we could grab metrics from their secure ports in tests.
2021-01-06 12:56:39 +08:00
Kubernetes Prow Robot
02bce1fbb0
Merge pull request #96866 from ravisantoshgudimetla/increase-timeout
Fix test failures
2021-01-05 19:57:51 -08:00
he.qingguo
8826d12bb0 The code in TestNonePolicyName does not need to wrap, so fix it.
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
2021-01-06 10:48:30 +08:00