Commit Graph

9839 Commits

Author SHA1 Message Date
Kubernetes Prow Robot c5d8b142bc
Merge pull request #8575 from johngmyers/utc
Use UTC when calculating copyright year
2020-02-16 16:23:28 -08:00
Kubernetes Prow Robot 5a99bb4eac
Merge pull request #8576 from justinsb/fix_ensure_file_owner
EnsureFileOwner: cleanup logic
2020-02-16 15:29:28 -08:00
Justin Santa Barbara a3335cc3e0 EnsureFileOwner: cleanup logic
If the user/group isn't specified, don't try to change it.
2020-02-16 17:24:25 -05:00
Kubernetes Prow Robot 5a5eb67281
Merge pull request #8316 from olemarkus/cilium-eni
Cilium eni
2020-02-16 12:51:27 -08:00
John Gardiner Myers 78e9f5abe0 Use UTC when calculating copyright year 2020-02-16 11:27:26 -08:00
Kubernetes Prow Robot 11600413ca
Merge pull request #8572 from rifelpet/hack-gopath
Hack directory cleanup
2020-02-16 10:59:27 -08:00
Ole Markus With ced8f00201 Add option to use ENI as IPAM mode for Cilium
* Force cilium-operator run on master nodes
* Add option for setting cilium ipam mode
* If cilium ipam mode is eni, add additional permissions to master nodes
* Allow NonMasqueradeCIDR overlap with NetworkCIDR when Cilium ENI is enabled
2020-02-16 19:11:01 +01:00
Kubernetes Prow Robot 0c2fe666e4
Merge pull request #8574 from justinsb/update_golang_1_13_8
Update golang to 1.13.8
2020-02-16 09:17:28 -08:00
Justin Santa Barbara b10f7a4252 Update golang to 1.13.8
k/k is using 1.13.6, and it looks like there are some potentially
relevant fixes in .7 and .8 (particularly on unpatched Windows).
2020-02-16 11:33:13 -05:00
Kubernetes Prow Robot d4c847cfe8
Merge pull request #8569 from johngmyers/fieldname
Fix field names in api validation
2020-02-16 06:51:28 -08:00
Kubernetes Prow Robot 5b38b9d988
Merge pull request #8570 from rifelpet/makefile-gopath
Update makefile to reduce dependency on GOPATH
2020-02-15 18:21:28 -08:00
Peter Rifel 49d31b8366 Import common.sh and use KOPS_ROOT when applicable 2020-02-15 20:04:12 -06:00
Peter Rifel c187cefec2 Move utility functions into common.sh 2020-02-15 20:03:26 -06:00
Peter Rifel b1638fc259 Remove unused scripts
We have long since migrated from Godeps to go mod, and we dont have a gh-pages branch anymore since we use netlify for the docs site.
2020-02-15 20:01:10 -06:00
Peter Rifel 87ccecf473 Update makefile to reduce dependency on GOPATH
This is one step towards removing the requirement that kops lives in the GOPATH.

* Consolidate the redundant KOPS_ROOT and MAKEDIR variables
* Remove dependency of GOPATH_1ST variable except for `GOPATH_1ST/bin`
* Remove broken check-builds-in-go111 target
* Remove unused KOPS_SERVER_TAG
2020-02-15 19:44:50 -06:00
John Gardiner Myers 8844b97fe3 Fix field names in api validation 2020-02-15 14:52:27 -08:00
Kubernetes Prow Robot 27ab22c965
Merge pull request #8566 from justinsb/reproducible_gzip
gzip: use --no-name to avoid saving timestamp
2020-02-14 21:03:28 -08:00
Kubernetes Prow Robot 0e4db376df
Merge pull request #8561 from justinsb/gobindata
Replace unmaintained go-bindata
2020-02-14 20:25:27 -08:00
Kubernetes Prow Robot 5121f26c3b
Merge pull request #8565 from justinsb/sort_gobindata
go-bindata: don't store file metadata
2020-02-14 19:43:28 -08:00
Justin SB 2586d6da45 gzip: use --no-name to avoid saving timestamp
Another source of non-reproducible builds!
2020-02-14 22:27:07 -05:00
Justin SB 7e2ee13fa1 go-bindata: don't store file metadata
This was a big contributor to the build being non-repeatable.
2020-02-14 22:04:57 -05:00
Justin SB fcd75d5e83 Replace unmaintained go-bindata
k/k uses go-bindata/go-bindata, so that's what we will use as well.
2020-02-14 13:57:29 -05:00
Kubernetes Prow Robot a3633ad294
Merge pull request #8443 from johngmyers/k8s-deprecation-note
Add Kubernetes deprecation/removal release notes
2020-02-14 10:38:17 -08:00
Kubernetes Prow Robot 721ed47e9d
Merge pull request #8555 from rifelpet/aws-iam-authenticator-scratch
Switch AWS IAM Authenticator to use non-scratch image
2020-02-13 20:10:17 -08:00
Peter Rifel cd34cf41c5 Switch AWS IAM Authenticator to use non-scratch image
The authenticator binary uses glog which requires write access to the filesystem under /tmp
On the scratch image /tmp doesnt exist which caused a crash loop:

```
time="2020-02-14T02:06:00Z" level=info msg="creating event broadcaster"
time="2020-02-14T02:06:00Z" level=info msg="setting up event handlers"
W0214 02:06:00.358119       1 client_config.go:539] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
log: exiting because of error: log: cannot create log: open /tmp/aws-iam-authenticator.ip-X-X-X-X.aws-iam-authenticator.log.WARNING.20200214-020600.1: no such file or directory
```

Switching to debian-stretch fixed the issue although it could really be any of the other images in the release [0]

[0] https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/tag/v0.5.0
2020-02-13 20:29:49 -06:00
Kubernetes Prow Robot f68a223596
Merge pull request #8547 from rifelpet/release-tag
Only create git tags with the v prefix
2020-02-13 13:16:35 -08:00
Kubernetes Prow Robot 4ad5dd7e83
Merge pull request #8548 from rifelpet/amazon-vpc-cni-1.6.0-iam
Update IAM permissions for amazon-vpc-cni-k8s 1.6.0
2020-02-13 10:20:35 -08:00
Kubernetes Prow Robot 91867ce4b5
Merge pull request #8220 from olemarkus/cilium-nodeport
Cilium nodeport
2020-02-13 09:18:36 -08:00
Peter Rifel bf42bb0e43 Update IAM permissions for amazon-vpc-cni-k8s 1.6.0 2020-02-13 11:10:38 -06:00
Peter Rifel 56cf8888c3 Only create git tags with the v prefix
The tagging of both formats was cherry-picked back to 1.15 and will be used in 1.16.0 stable.

I think having all 1.16.X and 1.17.X releases tagged with both formats is long enough, so I'm removing the non-prefixed tag for 1.18.0
2020-02-13 10:35:45 -06:00
Kubernetes Prow Robot cfe95a0efd
Merge pull request #8538 from hakman/amazon-vpc-cni-k8s-1.6.0
Update amazon-vpc-cni-k8s to v1.6.0
2020-02-13 05:22:34 -08:00
Ciprian Hacman d5f96d7204 Update amazon-vpc-cni-k8s to v1.6.0 2020-02-13 10:32:51 +02:00
Kubernetes Prow Robot 46bfedfda5
Merge pull request #8535 from rifelpet/kops-controller-events
Add events RBAC permissions to kops-controller
2020-02-12 21:06:34 -08:00
Peter Rifel 5ea96fa6a0 Add events RBAC permissions to kops-controller
I noticed in our new kops-controller logs that there is a permission denied error at startup.

Apparently part of the leader election process involves creating and watching for events off of the kops-controller-leader configmap.
This will add the necessary permissions to silence this error.

https://storage.googleapis.com/kubernetes-jenkins/logs/ci-kubernetes-e2e-kops-aws/1227728236914413570/artifacts/ip-172-20-46-137.ap-northeast-2.compute.internal/kops-controller-6k9sz.log
2020-02-12 18:34:38 -06:00
Ole Markus With 5437f6c090 Small fix in the validation logic 2020-02-12 14:30:09 +01:00
Kubernetes Prow Robot cbee4dccba
Merge pull request #8532 from idealhack/channels/202002
channels: bump k8s versions after feb. patch releases
2020-02-12 05:02:50 -08:00
Yang Li d8166049aa channels: bump k8s versions after feb. patch releases 2020-02-12 17:57:28 +08:00
Kubernetes Prow Robot 548caf03bc
Merge pull request #8475 from tiendc/unit_test_pkg_jsonutils
Add unit test for pkg/jsonutils/streamwriter.go
2020-02-11 06:10:01 -08:00
Ole Markus With eee672f293 Fixes some issues with running Cilium nodeport
* Cilium need to talk to the internal cluster API on  public IPs instead of the internal service
* Tell people explicitly they have to disable kubeproxy so it won't conflict with nodeport
2020-02-11 10:14:59 +01:00
Kubernetes Prow Robot 5a163b237b
Merge pull request #8524 from justinsb/relnotes_1_17_0_alpha_4
Release notes for 1.17.0-alpha.4
2020-02-10 22:02:00 -08:00
Justin SB d42273c448
Release notes for 1.17.0-alpha.4 2020-02-11 00:10:12 -05:00
Dao Cong Tien ba68560229 Add unit test for pkg/jsonutils/streamwriter.go
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-02-11 11:42:42 +07:00
Kubernetes Prow Robot 4606e8ee79
Merge pull request #8423 from rifelpet/aws-authenticator-update
Update AWS IAM Authenticator to 0.5.0
2020-02-10 20:12:00 -08:00
Kubernetes Prow Robot 05de4bd401
Merge pull request #8522 from mikesplain/fix_machines_types
Fix Machine types vcpus
2020-02-10 19:32:09 -08:00
Kubernetes Prow Robot 4cea7ffe66
Merge pull request #8246 from bittopaz/ali-fix-lc
Alicloud: support modification of LaunchConfiguration
2020-02-10 19:32:01 -08:00
Kubernetes Prow Robot 0440876f31
Merge pull request #8497 from johngmyers/runasnonroot
Mark dns-controller and kops-controller as non-root
2020-02-10 18:48:00 -08:00
Kubernetes Prow Robot 3166d31da4
Merge pull request #8520 from rifelpet/cloudbuild-machinetype
Use larger machine type for cloudbuild jobs
2020-02-10 18:08:08 -08:00
Kubernetes Prow Robot d569a6dbfb
Merge pull request #8489 from olemarkus/stable-bump-feb
Bump alphas to stable
2020-02-10 18:08:00 -08:00
Mike Splain 685ca73255 Fix Machine types vcpus 2020-02-10 20:49:09 -05:00
Kubernetes Prow Robot 5c6ea40ff0
Merge pull request #8519 from justinsb/relnotes_1_16_0_beta_2
Release notes for 1.16.0-beta.2
2020-02-10 16:32:02 -08:00