Commit Graph

93444 Commits

Author SHA1 Message Date
Sascha Grunert
975b8d352e
Use /usr/bin/env bash in Makefiles and scripts
This allows the execution of the Makefiles from distributions which do
have `bash` in a different path.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-16 21:13:18 +02:00
Kubernetes Prow Robot
ebbbc57540
Merge pull request #93707 from jingxu97/Aug/subpath
Fix issue in evaluating symlink path for subpath
2020-08-16 08:38:17 -07:00
zhouya0
3a237dd367 Scheduler auth stop using legacy scheme 2020-08-16 18:49:15 +08:00
Kubernetes Prow Robot
8f9f2fb2d6
Merge pull request #94023 from odinuge/go-version-flags
Fix building with GOFLAGS=-v
2020-08-15 12:56:18 -07:00
Odin Ugedal
1524794231
Fix building with GOFLAGS=-v
With go1.15 running go version with "-v" fails, and we should support
it.
2020-08-15 17:44:07 +02:00
Kubernetes Prow Robot
529c13471b
Merge pull request #93789 from jingxu97/Aug/csiproxy
Add test cluster check when starting csi proxy
2020-08-14 19:50:18 -07:00
Jing Xu
5aa817ab43 Fix issue in evaluating symlink path for subpath
This PR tries to fix issue https://github.com/kubernetes/kubernetes/issues/93759
2020-08-14 19:39:55 -07:00
Kubernetes Prow Robot
5d825b8f51
Merge pull request #93888 from dims/sig-arch-approvers-for-folders-that-dont-fall-under-other-sigs
Add sigs for root folders
2020-08-14 15:12:18 -07:00
Manuel Rüger
f289a3d6a7 kubeadm: Separate argument key/value in log msg
Users might be more used to `-o yaml` instead of -oyaml and get
confused event if the command works.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2020-08-14 23:49:07 +02:00
Kubernetes Prow Robot
d633e03cf6
Merge pull request #94002 from wojtek-t/fix_list_from_etcd
Fix bug for inconsistent lists served from etcd
2020-08-14 12:38:17 -07:00
Morgan Bauer
916c73b8a5
update ResourceMetricsAPI node-e2e test
/metrics/resource/v1alpha1 was deprecated and moved to
/metrics/resource

Renames to remove v1alpha1 from function names and matcher variables.

Pod deletion was taking multiple minutes, so set GracePeriodSeconds to 0.

Commented restart loop during test pod startup.

Move ResourceMetricsAPI out of Orphans by giving it a NodeFeature tag.

API removed in 7b7c73b #88568
Test created 6051664 #73946
2020-08-14 11:28:35 -07:00
Benjamin Elder
22b833b114 move ixdy to emeritus 2020-08-14 09:17:27 -07:00
Benjamin Elder
885b1bc720 move krzyzacy to emeritus 2020-08-14 09:17:27 -07:00
wojtekt
a5b60c352d Fix bug for inconsistent lists served from etcd 2020-08-14 17:30:58 +02:00
Kubernetes Prow Robot
3b5aedcef4
Merge pull request #93998 from justaugustus/pub-bot-go
publishing-bot: Use go1.15.0 as default version and go1.13.15 for previous releases
2020-08-14 05:42:21 -07:00
Stephen Augustus
7681a3a0db publishing: Drop 'go' field from 'controller-manager' 'master' branch
This was previous incorrectly set to go1.13.
Dropping the field allows us to pick up the 'default-go-version'.

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-14 05:19:49 -04:00
Stephen Augustus
6ed4f7cacd publishing: Use go1.15.0 as default version
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-14 05:19:44 -04:00
Stephen Augustus
310730e94a publishing: Use go1.13.15 for 1.18, 1.17, and 1.16 release branches
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-14 05:19:36 -04:00
Kubernetes Prow Robot
d822b8b230
Merge pull request #93972 from puerco/changelog-fix-117
Add missing changelog entries for v1.17.10
2020-08-14 01:54:29 -07:00
Kubernetes Prow Robot
a42a1c8dea
Merge pull request #93921 from zhouya0/never_restart_agnhost_pod
[Flaky test]kubectl log test never restart pod
2020-08-14 01:54:22 -07:00
Danil-Grigorev
f67774bdb0 Refactor locks on registeredNodesLocks
Their presence brought no need, as internal calls were already using
atomic operatons such as addNode or GetNode. This lock, instead was
blocking volume creation, and destroying the ability to provision
volume with `thin` SC.

Now the node map will be copied, and all group operatons will be
executed on a copy, leaving lock for others to use.
2020-08-14 10:12:17 +02:00
Kubernetes Prow Robot
c2bde256ae
Merge pull request #93990 from knight42/fix/run_kubectl_apply_tests
test(kubectl): deflake run_kubectl_apply_tests(round 2)
2020-08-14 00:48:35 -07:00
Kubernetes Prow Robot
fa1a3e0f74
Merge pull request #93665 from dims/emeritus-bgrant0607
Move bgrant0607 to emeritus status.
2020-08-14 00:48:22 -07:00
Kubernetes Prow Robot
770a59afc4
Merge pull request #93821 from dims/sign-up-dims-for-additional-review-roles
Sign up dims for additional review roles
2020-08-13 21:48:21 -07:00
knight42
de46e81e74
fix(pluginwatcher): watch socket dir before traversing it
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-14 12:07:04 +08:00
knight42
3cb3356645
test(kubectl): deflake run_kubectl_apply_tests
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-14 11:12:42 +08:00
M. Habib Rosyad
1e780605a9 fix vendor/k8s.io/apimachinery/pkg/util/framer staticcheck 2020-08-14 09:50:30 +07:00
Kubernetes Prow Robot
55412b6af1
Merge pull request #93981 from BenTheElder/upgrade-rules-docker
upgrade rules_docker
2020-08-13 17:34:22 -07:00
Benjamin Elder
be6c81597b upgrade rules_docker 2020-08-13 16:03:10 -07:00
Kubernetes Prow Robot
e97978f924
Merge pull request #93974 from puerco/changelog-fix-118
Add missing changelog entries for v1.18.7
2020-08-13 15:40:48 -07:00
Kubernetes Prow Robot
dcdbae7bb5
Merge pull request #93969 from liggitt/go115
[go115] Require go1.15 in build helper scripts
2020-08-13 15:40:35 -07:00
Kubernetes Prow Robot
5bbc8e10f3
Merge pull request #93954 from Miciah/fix-validation-of-ingress-rules-with-wildcard-host
Fix validation of ingress rules with wildcard host
2020-08-13 15:40:21 -07:00
Kubernetes Prow Robot
3647766cbc
Merge pull request #93938 from alculquicondor/revert-node-delete
Keep track of remaining pods when a node is deleted
2020-08-13 13:25:41 -07:00
Miciah Masters
e648deca3b Fix validation of ingress rules with wildcard host
Fix ingress validation so that it validates the rules of an ingress that
specifies a wildcard host.  Commit 60f4fbf4f2
added an inopportune continue statement that caused this validation to be
skipped.  For backwards compatibility, this change restores validation for
v1 of the api but still skips it on v1beta1.

* pkg/apis/networking/validation/validation.go (IngressValidationOptions):
Add AllowInvalidWildcardHostRule field to indicate that validation of rules
should be skipped for ingresses that specify wildcard hosts.
(ValidateIngressCreate): Set AllowInvalidWildcardHostRule to true if the
request is using the v1beta1 API version.
(ValidateIngressUpdate): Set AllowInvalidWildcardHostRule to true if the
request or old ingress is using the v1beta1 API version.
(validateIngressRules): Don't skip validation of the ingress rules unless
the ingress has a wildcard host and AllowInvalidWildcardHostRule is true.
(allowInvalidWildcardHostRule): New helper for ValidateIngressCreate and
ValidateIngressUpdate.
* pkg/apis/networking/validation/validation_test.go
(TestValidateIngressCreate, TestValidateIngressUpdate): Add test cases to
ensure that validation is performed on v1 objects and skipped on v1beta
objects for backwards compatibility.
(TestValidateIngressTLS): Specify PathType so that the test passes.

Co-authored-by: jordan@liggitt.net
2020-08-13 15:53:17 -04:00
Adolfo García Veytia (Puerco)
5eabc0e284 Add missing changelog entries for v1.18.7
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
2020-08-13 14:36:59 -05:00
Adolfo García Veytia (Puerco)
7175240f18 Add missing changelog entries for v1.17.10
Signed-off-by: Adolfo García Veytia (Puerco) <adolfo.garcia@uservers.net>
2020-08-13 14:09:06 -05:00
Aldo Culquicondor
dfe9e413d9 Keep track of remaining pods when a node is deleted.
The apiserver is expected to send pod deletion events that might arrive at a different time. However, sometimes a node could be recreated without its pods being deleted.

Partial revert of https://github.com/kubernetes/kubernetes/pull/86964

Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: I51f683e5f05689b711c81ebff34e7118b5337571
2020-08-13 14:24:01 -04:00
Aldo Culquicondor
16d7ecfa45 Remove direct accesses to cache's node map
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: Iebb22fc816926aaa1ddd1e4b2e52f335a275ffaa
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-08-13 14:22:06 -04:00
Anago GCB
b497fa1d34 CHANGELOG: Update directory for v1.18.8 release 2020-08-13 18:12:18 +00:00
Jordan Liggitt
bdcffdced3 [go115] Require go1.15 in build helper scripts 2020-08-13 13:46:52 -04:00
Jiawei Wang
0ce86eb553 Make CSI mock driver log parse more flexible 2020-08-13 10:27:38 -07:00
Anago GCB
09a48c2316 CHANGELOG: Update directory for v1.17.11 release 2020-08-13 16:19:31 +00:00
Miciah Masters
7ef8fa7207 Verify that an ingress with empty TLS is valid
Add a test that verifies that an ingress with an empty TLS value or with a
TLS value that specifies an empty list of hosts passes validation.

* pkg/apis/networking/validation/validation_test.go
(TestValidateEmptyIngressTLS): New test.
2020-08-13 11:55:18 -04:00
Davanum Srinivas
5c88b7f25b
Add sigs for root folders
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-08-13 10:24:06 -04:00
Anago GCB
d60c72f214 CHANGELOG: Update directory for v1.16.14 release 2020-08-13 13:35:51 +00:00
RobertKielty
737548a6b2 go fmt fix 2020-08-13 06:03:58 +01:00
Kubernetes Prow Robot
b1b93e3013
Merge pull request #93908 from robscott/endpointslice-err-return
Updating EndpointSlice controllers to return if error encountered
2020-08-12 21:26:14 -07:00
Kubernetes Prow Robot
fa76242bba
Merge pull request #93730 from adtac/MixedSchedulingBasePod
scheduler_perf/MixedSchedulingBasePod: label nodes for pod affinity
2020-08-12 19:14:14 -07:00
Kubernetes Prow Robot
68168541ea
Merge pull request #93869 from Jiawei0227/namespace-collision
[e2e]Bind csi driver namespace to test namespace to avoid namespace collision
2020-08-12 17:00:28 -07:00
Kubernetes Prow Robot
f4e9c3fd27
Merge pull request #93867 from apelisse/update-smd
Update SMD to v4.0.1 and kube-openapi
2020-08-12 17:00:15 -07:00