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
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
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
Jordan Liggitt
5e9189289e
Update go version check to 1.16+
2021-03-02 15:11:46 -05:00
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
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Jake Sanders
a3cfb0f2ce
Prevent CGO and STATIC_OVERRIDES from trampling themselves if sourced multiple times
2021-02-26 20:49:46 -08:00
Maciej Szulik
0a0c80c553
Add kubectl-convert to client-binaries
2021-02-22 17:01:34 +01:00
Maciej Szulik
3dab7462d1
Drop batch/v2alpha1 API
2021-02-12 17:51:12 +01:00
Benjamin Elder
7f1c6740f7
suggest homebrew when bash is too old on macOS
2021-02-09 22:40:01 -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
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
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
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
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
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
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
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
Jesus Herrera
d8bedb3980
Remove docker remote/docker-machine from build scripts
2020-12-30 12:37:51 -05: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
Sergey Kanzhelev
06da0e5e74
GA of RuntimeClass feature gate and API
2020-11-11 19:22:32 +00:00
knight42
00e4234cc9
fix: pass bearer token to curl using -H instead of --oauth2-bearer
...
The flag `--oauth2-bearer` might have no effect in some environment.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-05 01:15:19 +08:00
knight42
cfc2b330a7
refactor(apiserver): ignore the insecure flags
...
Leave the insecure flags intact but stop serving on insecure port.
2020-10-29 23:20:17 +08:00
Abhisek Banerjee
462326afba
Support cross compilation only on amd64.
...
Based on a patch to Bottlerocket by Ben Cressey <bcressey@amazon.com>
41a72fe214/packages/kubernetes-1.17/0001-always-set-relevant-variables-for-cross-compiling.patch
2020-10-21 00:13:01 +00:00
bnrjee
6b672863c7
Always set relevant variables for cross compiling
...
Based on a patch to Bottlerocket by Ben Cressey <bcressey@amazon.com>
41a72fe214/packages/kubernetes-1.17/0001-always-set-relevant-variables-for-cross-compiling.patch
2020-10-21 00:13:01 +00:00
Kubernetes Prow Robot
aed5ffd195
Merge pull request #94449 from justaugustus/go115
...
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
David Eads
c7911a384c
remove pod presets
2020-09-14 09:24:40 -04:00
Mike Danese
bdadb2a187
make kube::util::find-binary not dependent on bazel-out/ structure
...
Implement an aspect that outputs go_build_mode metadata for go binaries,
and use that during binary selection.
2020-09-11 13:19:38 -07:00
Mike Danese
5a72bb001f
hack/lib/util.sh: some bash cleanups
...
* switched one spot to use kube::logging
* make kube::util::find-binary return an error when it doesn't find
anything so that hack scripts fail fast instead of with '' binary not
found errors.
* this required deleting some genfeddoc stuff. the binary no longer
exists in k/k repo since we removed federation/, and I don't see it
in https://github.com/kubernetes-sigs/kubefed/ either. I'm assuming
that it's gone for good now.
2020-09-11 13:19:37 -07:00
Haowei Cai
b71252a0ab
add internal.apiserver.k8s.io/v1alpha1 to known gvs
2020-09-08 14:34:55 -07:00
Kubernetes Prow Robot
b49724d5fc
Merge pull request #94287 from jingyih/update_etcd_server_3p4p13
...
Update default etcd server to 3.4.13
2020-09-01 15:35:20 -07:00
jingyih
c96b93fbd4
Update default etcd server to 3.4.13
2020-08-28 21:19:24 +08:00
Kubernetes Prow Robot
aa084d4919
Merge pull request #92491 from BenTheElder/fuzz-only-test
...
compile out gofuzz from prod binaries
2020-08-27 17:57:36 -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
Jordan Liggitt
bdcffdced3
[go115] Require go1.15 in build helper scripts
2020-08-13 13:46:52 -04:00
Jordan Liggitt
4d1b34a582
Speed up update-swagger-docs
...
Only build genswaggertypedocs once per run instead of per-package
Speeds up the script from ~1:10 to ~0:18
2020-08-02 10:56:46 -04:00
Jordan Liggitt
d8b0f6fc50
Build code-generator tools directly
2020-08-02 10:56:46 -04:00
Jordan Liggitt
a8ae7aefd0
Lower default log verbosity
2020-08-02 01:22:59 -04:00
Kubernetes Prow Robot
5a4aa2026c
Merge pull request #92679 from RainbowMango/pr_etcd_debug_parameter
...
remove etcd deprecated parameters in scripts
2020-07-26 19:52:17 -07:00
Stephen Augustus
05ffc95347
[go1.15] Remove client support for darwin/386
...
Removed in go1.15 (GH/golang/go/issues/37610).
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:01 -04:00
Kubernetes Prow Robot
f9ad7db9a6
Merge pull request #92349 from jingyih/update_etcd_server_3p4p9
...
Update default etcd server to 3.4.9
2020-07-17 07:53:01 -07:00
Kubernetes Prow Robot
fe43b104ba
Merge pull request #91745 from Bisnode/gh-87369
...
Presence of bearer token should cancel exec action
2020-07-09 09:07:00 -07:00
jingyih
e9bf1c3c90
Update default etcd server to 3.4.9
2020-07-08 14:16:40 +08:00
Anders Eknert
b423216a3b
Presence of bearer token should cancel exec action
...
If a bearer token is present in a request, the exec credential plugin should accept that as the chosen method of authentication. Judging by an [earlier comment in exec.go](c18bc7e9f7/staging/src/k8s.io/client-go/plugin/pkg/client/auth/exec/exec.go (L217)
), this was already intended. This would however not work since UpdateTransportConfig would set the GetCert callback which would then get called by the transport, triggering the exec plugin action even with a token present in the request. See linked issue for further details.
See #87369 for further details.
Signed-off-by: Anders Eknert <anders.eknert@bisnode.com>
2020-07-02 12:12:32 +02:00
Chelsey Chen
75612c1746
Promote new Event API to v1
2020-07-01 10:50:28 -04:00
RainbowMango
23613a90aa
remove etcd deprecated parameters
2020-07-01 11:48:27 +08:00
Benjamin Elder
42acb51e2c
disable goffuzz in binaries
2020-06-30 20:30:59 -07:00