Commit Graph

9864 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 194874d103
Merge pull request #8595 from tiendc/unit_test_apis_kops_util
Add unit test for pkg/apis/kops/util/labels.go
2020-02-20 19:18:32 -08:00
Dao Cong Tien 9df6851cb3 Add unit test for pkg/apis/kops/util/labels.go
Signed-off-by: Dao Cong Tien <tiendc@vn.fujitsu.com>
2020-02-21 09:37:15 +07:00
Kubernetes Prow Robot 88ea28ac8c
Merge pull request #8591 from olemarkus/cilium-version-fix
Fix typo in the cilium default version
2020-02-20 15:03:57 -08:00
Kubernetes Prow Robot fb7801d1bf
Merge pull request #8539 from tiendc/unit_test_pkg_nodelabels
Add unit test for pkg/nodelabels/builder.go
2020-02-20 13:29:57 -08:00
Kubernetes Prow Robot 2e51beb2de
Merge pull request #8592 from zetaab/fixregion
add s3 region
2020-02-20 12:38:00 -08:00
Jesse Haka 11fa7b4b19 add s3 region 2020-02-20 14:50:54 +02:00
Ole Markus With 84837a81a4 Fix typo in the cilium default version 2020-02-20 08:07:07 +01:00
Kubernetes Prow Robot ea8c8fbc18
Merge pull request #8589 from olemarkus/cilium-1-7
Bump Cilium to 1.7 for k8s 1.12+
2020-02-19 15:32:30 -08:00
Ole Markus With d0d833144d Bump Cilium to 1.7 for k8s 1.12+
Cilium 1.7 requires K8s 1.12 minimum. Changed the templates so that we
can have different cilium versions for different k8s versions.

This also mean that this addon will behave similar to other addons wrt
upgrades. Cilium used to add a fixed version to the cluster spec on cluster creation so
upgrades were slightly more manual. Now, for new clusters, upgrades will
happen implicitly with kops updates unless the .Version is added
manually to the cluster spec.
2020-02-19 18:26:07 +01:00
Kubernetes Prow Robot 9cbbdd8426
Merge pull request #8533 from spotinst/fix-spotinst-owners
Spotinst: Add OWNERS file to Spotinst specific packages
2020-02-19 07:00:31 -08:00
Kubernetes Prow Robot e9550a99bf
Merge pull request #8586 from justinsb/postsubmit_right_version
prow-postsubmit: Upload to a consistently named directory
2020-02-17 19:03:28 -08:00
Justin SB 632d84f45c
prow-postsubmit: Upload to a consistently named directory
Now that we're building with CI=1, we should upload to the same
version, rather than reconstructing the logic (and in this case, we
weren't matching).
2020-02-17 21:28:04 -05:00
Kubernetes Prow Robot b56578bf24
Merge pull request #8585 from justinsb/cloudbuild_use_ci_build
Staging build: don't use _GIT_TAG
2020-02-17 14:19:30 -08:00
Justin SB bf5992e847
Staging build: don't use _GIT_TAG
The _GIT_TAG has a prefix vYYYYMMDD, so is not a valid semver.

Instead we use our CI=1 approach to construct a reasonable semver tag.
2020-02-17 16:42:32 -05:00
Kubernetes Prow Robot 10138d8263
Merge pull request #8571 from hakman/lyft-subnet-tags
Use cluster name as default subnet tag for Lyft CNI
2020-02-17 09:01:29 -08:00
Kubernetes Prow Robot 4f82e77a4b
Merge pull request #8578 from johngmyers/not-invalid
Fix inappropriate use of field.Invalid()
2020-02-17 07:51:29 -08:00
Ciprian Hacman 87bbcd615c Use cluster name as default subnet tag for Lyft CNI 2020-02-17 17:39:07 +02:00
Kubernetes Prow Robot b6c849cfb7
Merge pull request #7837 from mattouille/policy-overrides
Add External Policies (AWS managed policy attachments)
2020-02-17 06:49:29 -08:00
Matt Ouille f025ff0e70
Add External Policies (AWS managed policy attachments) 2020-02-16 21:54:12 -08:00
John Gardiner Myers eb58874aea Fix inappropriate use of field.Invalid() 2020-02-16 20:59:33 -08:00
Kubernetes Prow Robot fd99b3b42f
Merge pull request #8568 from justinsb/use_more_bazel_helpers
makefile: use more hash helpers when building images
2020-02-16 18:19:28 -08:00
John Gardiner Myers 54449386a0 Simplify chained .Child() calls 2020-02-16 17:29:41 -08:00
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
Justin SB 46c8cc6d86 makefile: use more hash helpers when building images
It's cleaner & more consistent.
2020-02-16 13:10:31 -05: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