SataQiu
d357bcd2cd
fix some shellcheck failures in hack
2019-02-25 11:38:56 +08:00
Clayton Coleman
7f01e23380
Ignore the sticky gid mode bit when a test is running on memory EmptyDir
...
While running unit tests for perf on a Kube cluster with a memory backed
emptydir as TMPDIR, TestSafeMakeDir failed with:
```
--- FAIL: TestSafeMakeDir (0.01s)
mount_linux_test.go:661: test "directory-exists": expected permissions 20000000750, got 20020000750
```
(TMPDIR set to /tmp/volume, /tmp/volume is EmptyDir with type Memory)
The test doesn't actually care about `os.ModeSetgid`, so specifically mask it out when testing this way.
2019-02-24 17:30:37 -08:00
ducnv
e11916da8e
kubeadm cleanup: master -> control-plane (cont.4)
2019-02-25 08:29:19 +07:00
danielqsj
7d051e1a75
update juju shell
2019-02-24 20:46:20 +08:00
danielqsj
7e655e8666
fix shellcheck in cluster/juju
2019-02-24 20:40:59 +08:00
danielqsj
f02a986081
add comments to shell function
2019-02-24 20:35:46 +08:00
danielqsj
e698682a0e
change a way to pass SC2164 in etcd.sh
2019-02-24 20:26:59 +08:00
danielqsj
c215966d22
fix shellcheck failure in etcd shell
2019-02-24 20:19:50 +08:00
SataQiu
9cda80e836
fix shellcheck lint errors in cluster and hack scripts
2019-02-24 11:15:35 +08:00
Kubernetes Prow Robot
139a13d312
Merge pull request #74269 from moshe010/kubelet_gen_cert
...
Move kubelet cert generation when starting kubelet
2019-02-23 18:41:10 -08:00
Kubernetes Prow Robot
ba8fcafaf8
Merge pull request #74467 from ixdy/bazel-cgo-crossbuild
...
bazel: create genrules to produce debs and RPMs without arch-specific names
2019-02-23 17:04:30 -08:00
Jeff Grafton
a92c26d843
bazel: create genrules to produce debs and RPMs without arch-specific names
2019-02-23 15:44:34 -08:00
Kubernetes Prow Robot
5312ade3d1
Merge pull request #74457 from neolit123/fix-kubeproxy-winkernel
...
kubeadm: fix issue with missing kubeproxy fields in test data
2019-02-23 14:05:15 -08:00
Kubernetes Prow Robot
1cf8001e53
Merge pull request #74449 from xichengliudui/fix190223
...
make more of the shell pass lints
2019-02-23 12:52:34 -08:00
Davanum Srinivas
90bad58a2d
Volunteer for dep-approvers
...
Having spent a while creating new repos (klog, yaml etc) and helping
with cloud provider extraction and fair share of proposing updates to
dependencies, i'd like to volunteer to help with taking care of
dependencies and in the upcoming activities at the "code organization"
subproject of sig-arch. Oh, forgot to mention working on the sig-release
subproject on vetting licenses. Please let me know if i have enough
karma to be on dep-approvers.
Change-Id: I0aca458b768800cb1148577c3cc238e6138d50e0
2019-02-23 14:01:19 -05:00
Kubernetes Prow Robot
6a29f8ca5f
Merge pull request #74451 from xichengliudui/fixshellcheckout190223
...
fix shellcheck in hack/...
2019-02-23 10:23:15 -08:00
Lubomir I. Ivanov
b2cc473388
kubeadm: fix issue with missing kubeproxy fields in test data
2019-02-23 19:13:16 +02:00
Kubernetes Prow Robot
1cfaf2bdc0
Merge pull request #74454 from bart0sh/PR0064-kubeadm-1419-fix-ValidateURLs
...
kubeadm: fix url validation code
2019-02-23 09:09:18 -08:00
Ed Bartosh
f8d235be9e
kubeadm: fix url validation code
...
Fixed nil pointer dereference in url validation code that
caused kubeamd panic:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xa7930c]
goroutine 1 [running]:
kubeadm/validation.ValidateURLs(0x40000bafe0, 0x2, 0x2, 0x1, 0x40002967b0, 0x0, 0x40002967b0, 0xf302a0)
kubeadm/validation/validation.go:324 +0xcc
kubeadm/validation.ValidateEtcd(0x400000b490, 0x4000296720, 0x0, 0x0, 0x0)
kubeadm/validation/validation.go:291 +0x1f0
...
Fixes : kubernetes/kubeadm#1419
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
2019-02-23 16:48:22 +01:00
Kevin Wiesmüller
89f4f9d4bf
add tests for new stripped fields and cleanup test
2019-02-23 12:54:33 +01:00
Kevin Wiesmüller
78ba7fa05c
add more fields to be stripped from managedFields
2019-02-23 12:40:44 +01:00
Kubernetes Prow Robot
0133d14170
Merge pull request #72939 from runyontr/test-cmd-what
...
Test cmd what
2019-02-23 02:54:36 -08:00
Kubernetes Prow Robot
8993fbc543
Merge pull request #74328 from daixiang0/delete-blank
...
delete all duplicate empty blanks
2019-02-23 01:43:58 -08:00
Kubernetes Prow Robot
795ae35201
Merge pull request #74318 from cblecker/fix-swagger
...
Fix verify-generated-swagger-docs script
2019-02-23 01:43:48 -08:00
Kubernetes Prow Robot
e6cc851fc3
Merge pull request #74270 from Huang-Wei/wei-scheduler-approver
...
Nominate Huang-Wei to scheduler approvers
2019-02-23 01:43:37 -08:00
Kubernetes Prow Robot
686c4912e9
Merge pull request #73930 from ixdy/bazel-cgo-crossbuild
...
bazel: initial support for cross-compilation
2019-02-23 01:43:27 -08:00
Kubernetes Prow Robot
b5566c7818
Merge pull request #71896 from awly/client-go-keyutil
...
client-go: extract new keyutil package from util/cert
2019-02-23 01:43:16 -08:00
Kubernetes Prow Robot
1847c071cf
Merge pull request #74445 from msau42/fix-localssd-e2e
...
Fix localssd test panic
2019-02-22 23:27:53 -08:00
Kubernetes Prow Robot
1d2d2d0ab2
Merge pull request #74390 from vanduc95/cleanup-kubeadm-cont.3-20190222
...
kubeadm cleanup: master -> control-plane (cont.3)
2019-02-22 23:27:40 -08:00
Kubernetes Prow Robot
4938cc37d3
Merge pull request #73509 from mikedanese/cloudproviderdep
...
enforce that cloud providers are only linked in main or app packages
2019-02-22 21:49:31 -08:00
Kubernetes Prow Robot
0b9f13227c
Merge pull request #70302 from tallclair/authzcache
...
Don't cache rediculous subject access reviews
2019-02-22 21:49:21 -08:00
Jordan Liggitt
e752a48a30
Explicitly set GVK when sending objects to webhooks
2019-02-23 00:19:47 -05:00
Kubernetes Prow Robot
b96378c058
Merge pull request #74436 from ksubrmnn/overlay_dsr
...
Temporarily remove V2 API check
2019-02-22 19:19:37 -08:00
Kubernetes Prow Robot
e4302c96e1
Merge pull request #74428 from bart0sh/PR0063-kubeadm-remove-dead-code
...
kubeadm: remove dead code
2019-02-22 19:19:27 -08:00
vanduc95
57d04cafee
kubeadm cleanup: master -> control-plane (cont.3)
2019-02-23 10:19:26 +07:00
Kubernetes Prow Robot
65cdd7e74a
Merge pull request #74400 from rojkov/kubeadm-refactor-etcdClient
...
kubeadm: simplify creating etcdClient
2019-02-22 19:19:16 -08:00
Jeff Grafton
4485b5c649
Add lots of comments
2019-02-22 18:50:21 -08:00
Jeff Grafton
0cd986d364
Add config modes to .bazelrc for crossbuilding
2019-02-22 18:50:21 -08:00
Jeff Grafton
6a12517493
Use for_platforms with //:_binary-artifacts-and-hashes
2019-02-22 18:50:21 -08:00
Jeff Grafton
02987016cc
Mark lots of things with tag 'manual'
2019-02-22 18:50:21 -08:00
Jeff Grafton
4b50d9352f
Make release-tars multiplatform
2019-02-22 18:50:21 -08:00
Jeff Grafton
bc316e3dc1
Add auto-defined ALL_PLATFORMS field and support for dicts in for_platforms
2019-02-22 18:50:21 -08:00
Jeff Grafton
dfdfc2e5b8
Make debs, rpms, and docker images multiarch
2019-02-22 18:50:18 -08:00
Peter Hornyack
621df2cddb
Disable Windows Defender on Windows test nodes.
2019-02-22 18:35:38 -08:00
Xiang Dai
36065c6dd7
delete all duplicate empty blanks
...
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Thomas Runyon
d4df8879f3
call kube:test:clear_all during cleanup
2019-02-22 21:23:53 -05:00
Jeff Grafton
7a938eb541
Create work-around wrappers for pure attribute on go_binary and go_test
...
This enables cgo when cross-compiling certain tests and binaries to
Linux, while disabling cgo for Windows and Darwin.
2019-02-22 18:08:34 -08:00
Jeff Grafton
52aab6ffef
Refactor CNI, CRI, and image dependencies into workspace.bzl
2019-02-22 18:08:34 -08:00
Jeff Grafton
6bce28c0bc
Update repo-infra dependency
2019-02-22 18:08:34 -08:00
Thomas Runyon
a502b96326
changed cleanup function name to not overwrite actualy cleanup() function
2019-02-22 21:01:54 -05:00