Aditi Sharma
2ad5601a83
Add scripts to use klog/logcheck
...
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2021-03-05 08:17:34 +00:00
Kubernetes Prow Robot
466e730259
Merge pull request #99816 from BenTheElder/no-shellcheck-failures
...
banish .shellcheck_failures
2021-03-04 18:35:12 -08:00
Kubernetes Prow Robot
9cea3f88ef
Merge pull request #99810 from BenTheElder/fix-junit-deps
...
disable colors in zeitgeist so as not to break shell2junit
2021-03-04 18:35:03 -08:00
Benjamin Elder
60d50f4ce8
banish .shellcheck_failures
...
we've eliminated these. don't allow any regression.
this should also be much faster now.
2021-03-04 16:32:17 -08:00
Benjamin Elder
fbfbe289c4
use sed to drop escape codes from zeitgeist output
2021-03-04 14:59:52 -08:00
Kubernetes Prow Robot
03d242665d
Merge pull request #99012 from jpbetz/apply-client-go-builders2
...
Apply Builders for client-go's typed client
2021-03-04 14:40:55 -08:00
Benjamin Elder
c54bfc4adf
disable colors in zeitgeist so as not to break shell2junit
2021-03-04 13:58:13 -08:00
Kubernetes Prow Robot
e959ecc1e6
Merge pull request #99681 from shiyajuan123/master
...
add descriptions to these event/types.go files
2021-03-04 11:01:07 -08:00
Joe Betz
09cc895c84
Add apply configuration generator
2021-03-04 10:29:54 -08:00
Kubernetes Prow Robot
2e39df89ac
Merge pull request #97743 from dims/support-m1-macbook-darwin/arm64-as-client
...
Support M1 MacBooks darwin/arm64 on the client-side
2021-03-04 04:18:09 -08:00
Sascha Grunert
abf85d70c2
Change KUBE_PARALLEL_BUILD_MEMORY to 20 GiB
...
A benchmark with go1.16 on amd64 resulted in an overall maximum memory
usage of 15GiB. This means we now lower the `KUBE_PARALLEL_BUILD_MEMORY`
to `20` to still have some room left.
The benchmark has been done with the following `Dockerfile`:
```dockerfile
FROM k8s.gcr.io/build-image/kube-cross:v1.16.0-1
RUN apt-get update && apt-get install -y time
WORKDIR /go/src/k8s.io/kubernetes
RUN git clone https://github.com/kubernetes/kubernetes
ENV KUBE_PARALLEL_BUILD_MEMORY=0
RUN /usr/bin/time -v make -C kubernetes cross-in-a-container
```
The value of interest from the output:
```
Maximum resident set size (kbytes): 1847108
```
The RSS is not the only value we have to consider. During the runtime I
measured the usage of the cached memory, which gets peaks up to 15GiB.
Test machine specs:
- CPU: 2 x Intel Scalable Gold 5120 28-Core Processor @ 2.2GHz
- RAM: 384GB
- Disk: 1 x 3.8TB NVME
- OS: Debian 10 (buster)
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-03-04 12:11:20 +01:00
Kubernetes Prow Robot
9ed4d94e69
Merge pull request #99724 from thockin/fix-xargs-mutually-exclusive-in-update-vendor
...
Fix hack/update-vendor.sh to not warn on xargs
2021-03-04 02:08:44 -08:00
navist2020
bb88381bf1
Add descriptions to api/authorization/*/types.go
2021-03-04 14:52:36 +08:00
Kubernetes Prow Robot
9658145f8a
Merge pull request #99655 from liggitt/min-go-version
...
Update go version check to 1.16+
2021-03-03 20:13:59 -08:00
Kubernetes Prow Robot
7b0ad65d4d
Merge pull request #99288 from supriya-premkumar/ineffassign
...
Adds ineffassign to GO linter script.
2021-03-03 14:40:46 -08:00
Kubernetes Prow Robot
e5538fa94f
Merge pull request #98210 from cici37/fix
...
Fix flag passing in CCM
2021-03-03 14:40:01 -08:00
Tim Hockin
9f56205bbb
Fix hack/update-vendor.sh to not warn on xargs
...
xargs -L and -n are strictly incompatible with -I. Use shell loops
instead. This does not seem to have any net impact other than making
warnings go away.
2021-03-03 14:19:28 -08:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
...
Changes:
- Enables ineffassign check in the verify scripts.
- Fixes lint errs.
2021-03-03 08:28:10 -08:00
shiyajuan123
e726ce97fb
add descriptions to these event/types.go files
2021-03-03 19:06:50 +08:00
Stephen Augustus
093967606b
hack/tools: Update zeitgeist to v0.2.0 to drop import cycle
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-03 05:42:05 -05:00
Davanum Srinivas
f719624654
Support M1 MacBooks darwin/arm64 on the client-side
...
testing using:
```
build/run.sh make generated_files && make quick-release-images
```
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-02 20:50:00 -05:00
Kubernetes Prow Robot
28feb8e30d
Merge pull request #96882 from saschagrunert/parallel-build-configurable
...
Make parallel build memory threshold configurable
2021-03-02 16:51:19 -08:00
Kubernetes Prow Robot
267afe2358
Merge pull request #99526 from chymy/fix-staticcheck-failed
...
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/generic
2021-03-02 14:47:32 -08:00
Kubernetes Prow Robot
3c514ae588
Merge pull request #99621 from nikhita/fix-verify-description
...
hack/verify-description.sh: correctly look for versioned API types
2021-03-02 12:16:27 -08:00
Jordan Liggitt
5e9189289e
Update go version check to 1.16+
2021-03-02 15:11:46 -05:00
Kubernetes Prow Robot
e4e9c31218
Merge pull request #98572 from justaugustus/go116
...
[go1.16] Update to go1.16
2021-03-02 08:57:19 -08:00
Nikhita Raghunath
4b9b926e5d
hack/verify-description.sh: correctly look for versioned API types
...
`find_files` had incorrect regexes which led to `genswaggertypedocs`
never being invoked. This commit updates the regex to correctly
look for versioned API types.go files.
Since `genswaggertypedocs` was never invoked, there are many API types
with missing descriptions. This commit lists these `types.go` files
in `hack/.descriptions_failures`.
The `verify-description.sh` script skips running `genswaggertypedocs`
on the files listed in `hack/.descriptions_failures`.
2021-03-02 21:50:40 +05:30
Kubernetes Prow Robot
f79795d718
Merge pull request #99521 from dekkagaijin/build
...
Prevent CGO and STATIC_OVERRIDES from trampling themselves if evaluated multiple times
2021-03-02 01:23:31 -08:00
Jordan Liggitt
ecef45df84
[go1.16] bump golang.org/x/... dependencies
...
hack/pin-dependency.sh golang.org/x/crypto latest
hack/pin-dependency.sh golang.org/x/net latest
hack/pin-dependency.sh golang.org/x/exp latest
hack/pin-dependency.sh golang.org/x/sys latest
hack/pin-dependency.sh golang.org/x/time latest
hack/pin-dependency.sh golang.org/x/tools latest
hack/lint-dependencies.sh
hack/pin-dependency.sh dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037
hack/pin-dependency.sh golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f
hack/pin-dependency.sh golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449
hack/lint-dependencies.sh
hack/update-internal-modules.sh
hack/update-vendor.sh
Co-authored-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:01 -05:00
Stephen Augustus
3c2824e3db
[go1.16] go.mod: update to go1.16
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
cici37
edc5b58e23
Update BUILD and staticcheck.
2021-03-01 10:22:06 -08:00
SataQiu
00ca55dd05
fix the bug that hack/update-vendor.sh exits with error but no indication of failure
2021-03-01 23:16:47 +08:00
Benjamin Elder
d296698b1a
remove BUILD copy from verify-openapi-spec.sh
2021-02-28 15:57:13 -08:00
Benjamin Elder
d9ef7cbe8c
drop bazel related tools from hack/tools module
2021-02-28 15:17:29 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Benjamin Elder
95e4a6bcda
remove now-unecessary logic from hack/verify-bazel.sh
2021-02-28 15:16:53 -08:00
Benjamin Elder
a1f2787897
automate removing bazel in hack/update-bazel.sh
2021-02-28 15:16:53 -08:00
Kubernetes Prow Robot
a185bafa0c
Merge pull request #99549 from BenTheElder/conformance-make
...
conformance.yaml: generate with make
2021-02-28 05:30:39 -08:00
Benjamin Elder
c1c3fdefe3
port conformance yaml generation to hack
2021-02-28 00:54:54 -08:00
chymy
3bab70b06a
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/generic
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-27 03:25:24 -05:00
Jake Sanders
a3cfb0f2ce
Prevent CGO and STATIC_OVERRIDES from trampling themselves if sourced multiple times
2021-02-26 20:49:46 -08:00
chymy
04515b9c0a
Fix static failures for vendor/k8s.io/apiserver/pkg/endpoints/handlers
2021-02-26 21:01:55 -05:00
Kubernetes Prow Robot
d6c7476ab3
Merge pull request #99155 from soltysh/convert_release
...
Add kubectl-convert to client-binaries
2021-02-22 17:24:15 -08:00
Maciej Szulik
0a0c80c553
Add kubectl-convert to client-binaries
2021-02-22 17:01:34 +01:00
Stephen Augustus
5fb57eec1a
generated: Run ./hack/update-internal-modules.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 08:48:04 -05:00
Stephen Augustus
71008247dc
hack: Use zeitgeist instead of cmd/verifydependencies
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 08:48:02 -05:00
Stephen Augustus
68b9e70f3d
hack/tools: Add zeitgeist@e06e277 for verifying external dependencies
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 08:30:57 -05:00
Kubernetes Prow Robot
0a5e4a0d9b
Merge pull request #99120 from dims/use-golangci-lint-to-find-unused-code
...
Use golangci-lint to find unused/dead code (Experimental!)
2021-02-20 19:19:42 -08:00
Davanum Srinivas
865fd2f04f
Use golangci-lint to find unused/dead code
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-02-19 12:12:02 -05:00
Maciej Szulik
3dab7462d1
Drop batch/v2alpha1 API
2021-02-12 17:51:12 +01:00
Joakim Roubert
3dd3211c81
Fix shellcheck failures in cluster/gce/gci/configure.sh
...
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2021-02-10 19:23:31 +01:00
Kubernetes Prow Robot
0f3aada51e
Merge pull request #90405 from joakimr-axis/joakimr-axis_util.sh
...
Fix shellcheck warnings/errors in cluster/gce/util.sh
2021-02-10 10:02:16 -08:00
tiloso
e1ceac0783
Fix staticcheck in test/integration/{scheduler_perf,garbagecollector}
2021-02-10 10:55:09 +01:00
Joakim Roubert
8bf2836e41
Fix remaining shellcheck issues in cluster/gce/util.sh
...
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2021-02-10 10:07:45 +01:00
Benjamin Elder
7f1c6740f7
suggest homebrew when bash is too old on macOS
2021-02-09 22:40:01 -08:00
Kubernetes Prow Robot
b87ae556b3
Merge pull request #95865 from joakimr-axis/joakimr-axis_master-helper.sh
...
Fix shellcheck issues in cluster/gce/gci/master-helper.sh
2021-02-09 17:43:00 -08:00
Kubernetes Prow Robot
d6c26a826a
Merge pull request #95281 from SaiHarshaK/staticcheck_test
...
fix staticcheck failures for test/e2e and test/integration
2021-02-09 03:40:38 -08:00
Kubernetes Prow Robot
141630d090
Merge pull request #98861 from tonistiigi/non-amd64-cross-compile
...
avoid hardcoding amd64 specifics on cross compiling
2021-02-09 00:45:53 -08:00
Kubernetes Prow Robot
2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
...
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
Kubernetes Prow Robot
017d4dd832
Merge pull request #98739 from logicalhan/so-stable
...
Wire up static-analysis so that it executes in the normal 'hack' flow
2021-02-08 15:19:10 -08:00
Tonis Tiigi
fd01467c0c
avoid hardcoding amd64 specifics on cross compiling
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-02-07 21:08:00 -08:00
Sai Harsha Kottapalli
a2ef69060a
fix staticcheck failures for test/e2e and test/integration
2021-02-07 23:47:23 +05:30
Han Kang
db107b190c
remove the rest of the bazel test wiring for metrics stability
2021-02-05 10:48:48 -08:00
pacoxu
0c152cbbbe
update pause to 3.4.1 for tests(e2e)
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:32:53 +08:00
Han Kang
73d797d474
Wire up static-analysis so that it executes in the normal 'hack' flow
2021-02-04 18:48:03 -08:00
Kubernetes Prow Robot
81d8ccfa8e
Merge pull request #97224 from tanjing2020/fix_SA2002
...
fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints
2021-02-04 13:23:03 -08:00
Kubernetes Prow Robot
2d9e9290e7
Merge pull request #98508 from tonistiigi/arm64-cross
...
enable cross-compile CC config for non-amd64
2021-02-02 18:00:28 -08:00
Kubernetes Prow Robot
ee2b7a5049
Merge pull request #98049 from pacoxu/enhancements/redir-links
...
fix all keps links 404 for kep folder migration
2021-02-01 21:48:28 -08:00
Kubernetes Prow Robot
e161051c83
Merge pull request #98668 from liggitt/gotestsum
...
Install gotestsum if needed for junit results
2021-02-01 14:52:36 -08:00
Jordan Liggitt
031e1c562c
Install gotestsum if needed for junit results
2021-02-01 12:16:07 -05:00
Kubernetes Prow Robot
101cdbf932
Merge pull request #97295 from tiloso/staticcheck-test-integration
...
Fix staticcheck in test/integration/{examples,framework}
2021-02-01 04:49:48 -08:00
pacoxu
a10bdfed09
fix all keps links 404 for kep folder migration
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 19:41:59 +08:00
pacoxu
8811275ea4
update pause image 3.4.1 for hack testdatas only
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 15:09:25 +08:00
Kubernetes Prow Robot
081f68d685
Merge pull request #97999 from llhuii/hack-version-script-fix-err-to-stdout
...
hack/lib/version.sh: fix error log to stderr
2021-01-31 08:39:48 -08:00
llhuii
36aa8a24ce
hack/lib/version.sh: fix error log to stderr
...
Since this invalid Semantic Version messages redirecting to stdout
will be captured by line 790 at hack/lib/golang.sh:
`goldflags="${GOLDFLAGS=-s -w -buildid=} $(kube::version::ldflags)"`
This happens when only no valid tag exists in repo
2021-01-31 00:40:53 +08:00
tanjing2020
c38a06bca6
fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints
2021-01-29 11:39:25 +08:00
Kubernetes Prow Robot
d7cb340bc6
Merge pull request #83268 from odinuge/e2e_node_timeout
...
Add timeout config for node_e2e tests
2021-01-28 19:33:40 -08:00
Kubernetes Prow Robot
125a5f10a6
Merge pull request #96599 from tanjing2020/master
...
fix staticcheck:pkg/volume/testing
2021-01-28 18:43:40 -08:00
Davanum Srinivas
02eaf0f23d
remove references to golint in hack/tools
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-28 15:43:12 -05:00
Davanum Srinivas
8cec5fbd28
Remove golint based verifications
...
After a couple years of seeing changes spawned from this issue, I don't think this is a good use of contributors' or reviewers' time. golint is very opinionated about:
exported type and function names, leading to PRs attempting to change exported things people use downstream
missing documentation on interface implementation functions, which leads to not-very-useful copy/paste of interface godoc
the govet and staticcheck verify jobs are much more useful since they catch correctness issues
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-28 15:43:09 -05:00
Tonis Tiigi
f19f22b43e
enable cross-compile CC config for non-amd64
...
Currently target CC can only be set if the host platform
is linux/amd64 . If target is already set in the environment
it is always safe to use it and enable cgo.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-01-28 07:11:04 -08:00
Li Bo
bb150cdd4f
change minimum bash version to 4.2
2021-01-26 20:12:58 +08:00
Chok Yip Lau
eaaa803d48
Fix staticcheck on vendor/k8s.io/apiserver/pkg/server/httplog
2021-01-25 21:16:28 -05:00
Tim Hockin
33ad2fe019
Build: Don't find into _name dirs
...
This is a no-op now that _examples is renamed.
2021-01-25 10:20:49 -08:00
Tim Hockin
876c9f0d8c
Rename _examples to examples
...
The alternative to this would be to special-case code-generator. Since
it legit wants codegen, it seems wrong to make it be _examples (which tools
should ignore).
Make examples an "internal module" so the main go.mod for
k8s.io/code-generator does not get too polluted.
2021-01-25 10:20:46 -08:00
Tim Hockin
1b07b0d648
Fix bug in golint script when no files
...
The script would get a 1 return code from grep when there are no files
in a directory, after filtering generated filenames. This would cause
the script to exit unexpectedly.
2021-01-25 10:15:59 -08:00
Tim Hockin
105e8f8467
Rename *-hack-tools.sh -> *-internal-modules.sh
...
Prep to add more such modules
2021-01-25 10:15:59 -08:00
Tim Hockin
3aa319c894
Don't generate LICENSES for hack/tools
2021-01-25 10:15:59 -08:00
Tim Hockin
91c401c964
Update-vendor: canonicalize pwd
2021-01-25 10:15:59 -08:00
Tim Hockin
187def4d4f
Make: Retool how we cache go dirs
...
Now we can use /dev/null as an argument when running tools manually
2021-01-25 10:15:59 -08:00
Tim Hockin
ee170145b2
Make: prefix magic go-deps variables with GODEPS
...
This makes them easier to see and find.
Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Kubernetes Prow Robot
f5bb2c19b9
Merge pull request #97882 from ialidzhikov/staticcheck/x509
...
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
2021-01-25 09:26:54 -08:00
Kubernetes Prow Robot
bfe42562a1
Merge pull request #98309 from dims/ensure-bash-version-at-least-5.x
...
Ensure bash version at least 5.x
2021-01-23 22:02:53 -08:00
Davanum Srinivas
feecef7795
Ensure bash version at least 5.x
...
Co-authored-by: Stephen Augustus <justaugustus@users.noreply.github.com>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-22 13:08:53 -05:00
Kubernetes Prow Robot
7eef3ed8c7
Merge pull request #98003 from lauchokyip/fixlint2
...
Fix golint errors for k8s.io/cli-runtime/pkg/genericclioptions/
2021-01-21 09:57:40 -08:00
Kubernetes Prow Robot
6040a06a2e
Merge pull request #97841 from feranwq/patch-92402-2
...
fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck
2021-01-21 09:57:27 -08:00
Kubernetes Prow Robot
a64c7ed1dc
Merge pull request #97930 from JieJhih/golint/fs
...
fix golint in volume fs
2021-01-19 13:14:00 -08:00
Kubernetes Prow Robot
73d4c245ef
Merge pull request #98160 from sfowl/pyyaml-safe-load
...
Change yaml.load() to safe_load()
2021-01-19 04:07:45 -08:00
Sam Fowler
368ebbeddf
Change yaml.load() to safe_load()
2021-01-19 15:58:12 +10:00
Kubernetes Prow Robot
294c352380
Merge pull request #98017 from lanzao/patch01
...
Fix golint issues in client/custom_metrics/scheme
2021-01-15 06:31:51 -08:00
lanzao
a833a0321c
Fix golint issues in client/custom_metrics/scheme
2021-01-15 10:17:12 +08:00
Chok Yip Lau
9a3148291d
Fix golint errors for kubectl/pkg/cmd/certificates/certificates.go
2021-01-13 09:17:00 -05:00
Chok Yip Lau
c5b95f60fa
Fix golint errors for k8s.io/cli-runtime/pkg/genericclioptions/
2021-01-13 05:28:09 -05:00
Kubernetes Prow Robot
3722cef5e5
Merge pull request #97947 from Haleygo/fix/replace-cfssl-resource
...
fix:replace cfssl resources and upgrade them to 1.5.0
2021-01-12 21:10:37 -08:00
Kubernetes Prow Robot
bbde53e300
Merge pull request #97959 from carlory/patch-1
...
set GOOS=linux for the staticcheck tool
2021-01-12 18:24:35 -08:00
Kubernetes Prow Robot
e414d4e5c2
Merge pull request #96315 from twosigma/dnsdomainteste2e
...
Ensuring default DNS cluster-domain of Kubelet is cluster.local
2021-01-12 10:28:35 -08:00
Kubernetes Prow Robot
ef3337a443
Merge pull request #97786 from pacoxu/staticcheck/apiserver-storage
...
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-12 08:20:26 -08:00
feranwq
ddba6a79d4
fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck
2021-01-12 19:03:13 +08:00
帝俊
7c487f9964
set GOOS=linux for the staticcheck tool
2021-01-12 18:00:36 +08:00
Haleygo
b2796cea93
fix:replace cfssl resources and upgrade them to 1.5.0
...
Signed-off-by: Haleygo <hui.wang@daocloud.io>
2021-01-12 14:05:20 +08:00
JieJhih Jhang
f1829a7744
fix golint in volume fs
2021-01-12 06:35:52 +08:00
Sascha Grunert
9428ad78fd
Make parallel build memory threshold configurable
...
The amount of memory required to build binaries in parallel is right now
set to 40GiB. We now make this variable to be able to build artifacts in
parallel even with a lower amount of memory.
This enables SIG Release to speed-up the build time drastically in
Google Cloud Build (GCB).
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2021-01-11 11:59:57 +01:00
ialidzhikov
5771ea733f
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-10 00:32:42 +02:00
pacoxu
aaa7084a4a
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-07 11:27:03 +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
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
Kubernetes Prow Robot
b39494ce35
Merge pull request #97374 from geegeea/golint
...
Fix golint issues in pkg/kubelet/types
2021-01-05 17:10:03 -08:00
Kubernetes Prow Robot
3209dabb0d
Merge pull request #97466 from geegeea/lint-kubelet
...
Fix golint issues in api/admission and api/admissionregistration
2021-01-05 09:01:59 -08:00
ialidzhikov
8a0bce0021
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/admission/initializer
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-02 22:41:13 +02:00
Jesus Herrera
d8bedb3980
Remove docker remote/docker-machine from build scripts
2020-12-30 12:37:51 -05:00
Gurleen Grewal
2414bce4c3
Fix golint issues in pkg/kubelet/types
2020-12-23 19:21:31 -08:00
Gurleen Grewal
73f24d6beb
Fix golint issues in api/admission and api/admissionregistration
2020-12-22 12:13:41 -08:00
Kubernetes Prow Robot
81e82b8453
Merge pull request #97167 from geegeea/golint-cleanup-events
...
Fix golint issues in pkg/credentialprovider/plugin
2020-12-16 13:04:31 -08:00
tiloso
3cbdc711de
Fix staticcheck in test/integration/{examples,framework}
...
Part of #92402 , fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
2020-12-14 21:54:37 +01:00
Qiming Teng
e1ec14162f
Fix OpenAPI spec generator script
2020-12-14 10:10:33 +08:00
Kubernetes Prow Robot
58a1f1658d
Merge pull request #96997 from PurelyApplied/update-levee-config
...
[KEP-1933] Update config for go-flow-levee analysis
2020-12-10 14:53:22 -08:00
Patrick Rhomberg
42fb39f116
Use full aliases. Add sig/security label.
2020-12-09 23:43:48 +00:00
Patrick Rhomberg
3559d752e3
Transfer ownership of logging analysis configuration to sig-security.
2020-12-09 19:15:46 +00:00
Kubernetes Prow Robot
018942a92a
Merge pull request #96903 from JornShen/local_up_resume_readonly_port
...
local-up-cluster kubelet option opening readonly port
2020-12-08 20:04:32 -08:00
Kubernetes Prow Robot
58287f3cb6
Merge pull request #96660 from KobayashiD27/staticcheck_in_endpoints_request
...
fix staticchekc failer in apiserver/pkg/endpoints/request
2020-12-08 18:34:57 -08:00
Kubernetes Prow Robot
cb8ad64243
Merge pull request #96632 from sbueringer/pr-fix-staticcheck-apiserver-server
...
fix staticcheck: vendor/k8s.io/apiserver/pkg/server/{options,storage}
2020-12-08 17:30:07 -08:00
Kubernetes Prow Robot
5664482714
Merge pull request #96402 from lala123912/cc_4
...
fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
2020-12-08 17:28:35 -08:00
Gurleen Grewal
7a0b5acf00
Fix golint issues in pkg/credentialprovider/plugin
2020-12-08 15:11:44 -08:00
Patrick Rhomberg
a3d483e965
Update cross-referencing for PRs.
2020-12-04 22:42:18 +00:00
Patrick Rhomberg
66c54ffc43
Refer to KEP rather than directly to documentation link.
2020-12-04 22:39:36 +00:00
jornshen
da808767b7
local-up-cluster kubelet option opening readonly port
2020-12-02 09:46:24 +08:00
Patrick Rhomberg
6488e89f96
Update config for go-flow-levee analysis
...
* Remove \b boundary for sinks; Unicode backspace \b != regexp boundary \b.
* Specify those source type fields that have not yet been tagged.
* Add exclusions for current false-positive set.
2020-12-01 23:35:32 +00:00
Stephen Augustus
1c89ce14c0
[go1.15] hack/tools: Update to k/repo-infra@v0.1.3 (supports go1.15.5)
...
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:40:44 -05:00
Kobayashi Daisuke
fa68cda13f
fix staticchekc failer in apiserver/pkg/endpoints/request
2020-11-18 15:28:35 +09:00
Stefan Bueringer
6190b87927
rollback httplog change
2020-11-17 12:56:47 +01:00
Stefan Bueringer
ed0adcb65e
fix staticcheck: vendor/k8s.io/apiserver/pkg/server
2020-11-17 11:58:13 +01:00
tanjing2020
3398401c06
fix staticcheck:pkg/volume/testing
...
pkg/volume/testing/testing.go:417:16: possible nil pointer derefence (SA5011)
2020-11-17 14:45:13 +08:00
lala123912
5710e1b162
fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
...
vendor/k8s.io/kubectl/pkg/cmd/scale/scale.go:212:2: this value of err is never used (SA4006)
2020-11-14 12:17:11 +08:00
Kubernetes Prow Robot
36f571404f
Merge pull request #96527 from adtac/apfbeta
...
promote API priority and fairness types and APIs to beta
2020-11-13 19:33:04 -08:00
yue9944882
849be447f5
APF: graduate API and types to beta
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:39 +00:00
Kubernetes Prow Robot
3b2746c9ea
Merge pull request #95614 from wilsonehusin/golint-client-go-transport
...
Fix golint failures in client-go/transport
2020-11-13 07:34:31 -08:00
Kubernetes Prow Robot
e38b1b94f8
Merge pull request #96399 from andrewsykim/service-config
...
move service controller config to k8s.io/cloud-provider/controllers/service/config
2020-11-12 11:21:57 -08:00
Kubernetes Prow Robot
9d2a2263cd
Merge pull request #96387 from mrunalp/cri_add_beta
...
Add CRI v1 proto
2020-11-12 11:21:31 -08:00
Kubernetes Prow Robot
d1c41e70ff
Merge pull request #96331 from mithuns/fix-lint-runtime-serializer-protobuf
...
Fix go lint on folder apimachinery/pkg/runtime/serializer/protobuf
2020-11-12 05:32:49 -08:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
2020-11-12 00:44:51 -08:00