Commit Graph

292 Commits

Author SHA1 Message Date
Ole Markus With 4fa6f56ecd Use the kubernetes-sigs version of yaml 2020-12-15 10:38:01 +01:00
Ole Markus With 73fcd24e5e Bump etcd client to 3.4. Use go modules 2020-12-15 08:33:28 +01:00
Peter Rifel 8bde95df70
Move code-generator to hack go module 2020-12-10 21:47:54 -06:00
Peter Rifel 82e25599f7
Move tools.go into separate go module without vendoring 2020-12-08 23:06:44 -06:00
Ciprian Hacman 4bc97f1494 Update k8s dependencies to v1.20.0 2020-12-09 01:00:15 +02:00
Ciprian Hacman ec2e3f3f7b Update aws-sdk-go to v1.36.0 2020-12-02 15:32:15 +02:00
srikiz 15dc7b4f5a Update godo to v1.54.0 2020-11-26 15:55:10 +05:30
Peter Rifel c74a7d2a38
Upgrade cloud-provider-openstack to 1.19.2 2020-11-22 22:20:25 -06:00
Kenji Kaneda 4555c0b2df Add support of Azure Blob storage to VFS
The schema is "azureblob".

azureClient provides two ways to set up credential. One approach is to
use an account key stored in env var. This approach is used when
accessing Blob from kops CLI. The second approach is to retrieve
credentials from Instance Metadata Service. This works only when
azureClient is created on a VM that has sufficient privilege to access
a specified blob. This approach is used from nodeup, etcd-manager,
etc.
2020-11-19 10:47:03 -08:00
Peter Rifel e2da18d042
Update k8s dependencies to 1.20.0-beta.2 2020-11-18 10:58:11 -06:00
Kubernetes Prow Robot c1a3615cf0
Merge pull request #10193 from olemarkus/updates-docker
Upgrade docker client
2020-11-10 17:39:55 -08:00
Kubernetes Prow Robot 8c9cbcaae0
Merge pull request #10192 from olemarkus/updates-helm
Upgrade helm to 2.17 and use the helm.sh reference
2020-11-08 06:43:37 -08:00
Kubernetes Prow Robot f12c7ff510
Merge pull request #10191 from olemarkus/updates-sprig
Upgrade sprig to v3
2020-11-07 23:05:37 -08:00
Ole Markus With f67af5223a Upgrade docker client 2020-11-07 22:45:14 +01:00
Ole Markus With d24d9e05ba Upgrade helm to 2.17 and use the helm.sh reference 2020-11-07 21:09:08 +01:00
Ole Markus With 3721bbb76b Upgrade sprig to v3 2020-11-07 20:41:02 +01:00
Barry Melbourne 6d170bd89f Upgrade Hashicorp HCLv2 Go module v2.7.0 2020-11-07 18:06:06 +00:00
Barry Melbourne 84417c330b Set minimum Terraform version to 0.12.26/0.13.0 2020-10-28 20:24:41 +00:00
Peter Rifel eb7cc53111
Upgrade aws sdk to 1.35.10
This adds functions for each enum that return a list of all values
2020-10-19 14:07:58 -06:00
Justin SB 8757a2ce2a kubeconfig generation: add tests for kops plugin
Also slightly simplify the tests and Kubecfg Builder signature by
passing in the ConfigAccess only when needed.
2020-08-30 15:17:36 -04:00
Ciprian Hacman 5c7334fb88 Update k8s dependencies to v1.19.0 2020-08-27 07:16:31 +03:00
Peter Rifel 315c5b3ad2
Upgrade controller-runtime to latest 2020-08-24 10:54:18 -05:00
Peter Rifel b3709b8806
Upgrade kubernetes dependencies to 1.19.0-rc.4 2020-08-24 10:54:15 -05:00
Ole Markus With 8c70787bab Upgrade gophercloud to v1.11.0
Update upup/pkg/fi/cloudup/openstacktasks/instance.go

Co-authored-by: Peter Rifel <rifelpet@users.noreply.github.com>
2020-08-23 16:45:00 +02:00
Peter Rifel bae8150e12
Update more klog v1 references to v2
I missed these in the previous PR. This removes the direct dependency on v1 entirely.
The kubernetes 1.19 upgrade will remove the indirect reference on v1.
2020-08-17 07:44:48 -05:00
Peter Rifel 4d9f0128a3
Upgrade to klog2
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
liranp 64c07b336a
feat(spot/ocean): add support for instance types in launchspec 2020-08-13 16:32:54 +03:00
Kubernetes Prow Robot b7871e2e72
Merge pull request #9478 from bwagner5/feat-instance-selector
Add instance-selector cmd to toolbox
2020-08-11 14:15:45 -07:00
Brandon Wagner fe3671fff5 go.mod deps for feat toolbox instance-selector 2020-08-10 16:16:51 -05:00
Peter Rifel 230d870ad6
Implement CRUD logic for cloudmock openstack
This is the bulk of the changes necessary to support openstack integration tests.

As mentioned in cloudmock/openstack/README.md, this involved a lot of wireshark to understand
how the gophercloud clients builds the requests and expects the responses.
2020-08-10 15:22:49 -05:00
Ciprian Hacman cf06d6ae93 Update k8s dependencies to v1.18.6 2020-08-08 16:13:25 +03:00
Ciprian Hacman 041e965bdb make gomod 2020-08-05 06:03:23 +03:00
Ciprian Hacman 2d8e0a29e6 Update protobuf to v1.4.2 2020-08-05 05:43:41 +03:00
liranp 4d8866824f
fix(spot): change `ScaleDown.MaxPercentage` from int to float64 2020-08-04 23:40:44 +03:00
John Gardiner Myers ae8688b356 make gomod 2020-07-28 11:48:08 -07:00
John Gardiner Myers 9596ed8f37 Reimplement fitask generator using gengo 2020-07-28 11:48:08 -07:00
Peter Rifel e2dd27ece1
Upgrade aws-sdk-go 2020-07-27 16:01:27 -05:00
Peter Rifel 0b555f48d4
Upgrade to go 1.14.4 2020-07-14 09:24:48 -05:00
Ciprian Hacman 5107e1d151 Update aws-sdk-go to v1.32.13 2020-07-07 05:58:11 +03:00
Ole Markus With e2ecceba2a go mod tidy 2020-07-03 08:58:53 +02:00
Ole Markus With 53f670aeb0 Rebase with master 2020-07-03 08:39:43 +02:00
Ciprian Hacman c23d51b2d3 Vendor github.com/blang/semver/v4 2020-07-01 08:54:42 +03:00
Peter Rifel 3c269cc939
Update staticcheck vendor 2020-06-30 08:28:06 -05:00
John Gardiner Myers 541f7b5b37 Remove kube-discovery 2020-06-23 21:34:12 -07:00
Xiaoyu Zhong 27718c97b9 Run `make gomod` 2020-06-22 09:37:16 +08:00
Ole Markus With acaa1e1dfc Implement VFS for vault 2020-06-18 13:02:37 +02:00
Kubernetes Prow Robot 4ef6bbe229
Merge pull request #9175 from mtl-wgtwo/calico-ip-detection-method
Enable configuration of the calico IP_AUTODETECTION_METHOD  and IP6_AUTODETECTION_METHOD
2020-06-03 06:24:18 -07:00
Ole Markus With 89fba09caa Remove vsphere vendor stuff and related build files 2020-05-30 13:34:39 +02:00
Matt Long 79275f9ea8 Add additional tighter validation 2020-05-27 15:43:08 +02:00
MoShitrit e8db21e6a8 Update aws-sdk-go to version 1.30.16 2020-04-29 00:11:12 -04:00
liranp 9dd6b1b25b
chore(gomod): upgrade spotinst-sdk-go (v1.49.0) 2020-04-28 19:39:22 +03:00
eric-hole 53b4183e9c Bumps the gcp client libraries to v0.22.0. 2020-04-23 16:00:58 -07:00
Justin Santa Barbara 40b8920c47 Update to controller-runtime that is compatible with 1.18
Version not yet tagged, sadly.
2020-04-11 14:44:25 -04:00
Justin Santa Barbara 7188b6b173 Update to kubernetes 1.18 libraries 2020-04-11 14:21:58 -04:00
Jesse Haka 19ff6f94e6 update gophercloud dependencies 2020-04-09 10:01:32 +03:00
Peter Rifel 6ed48c1349 Update controller-tools vendoring 2020-04-08 15:20:27 -05:00
Justin Santa Barbara 7c9c1639fd Update go.mod for k8s 1.17
These are now tagged with v0.17.4, so we don't need the trick of the
commented out imports any more!
2020-04-08 08:52:27 -04:00
Peter Rifel 3a9ab464ff Add hcl2 and go-cty vendored dependencies 2020-04-05 21:17:23 -05:00
Jesse Haka d694a6f66d add support for AllowedCIDRs 2020-03-17 17:33:11 +02:00
Peter Rifel 0455ef06d4 Upgrade AWS SDK 2020-03-10 16:46:39 -05:00
liranp 1a8b99fca3
chore(deps): upgrade spotinst-sdk-go to v1.43.0 2020-02-23 21:21:23 +02:00
Ole Markus With d728ac8196 make gomod 2020-02-22 06:49:37 +01:00
Ole Markus With f2f29d92d6 Properly detect that bpffs has been mounted 2020-02-21 21:52:35 +01: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
eric-hole 3e36e19241 Updates googleapis to latest 2020-02-09 09:46:32 -08:00
Justin Santa Barbara 3ae2ccb153
Use component-base for metrics
Another dependency on k/k removed!

prometheus
2020-01-17 06:35:21 -05:00
Justin Santa Barbara aa50b6d894
Update go modules 2020-01-17 06:35:20 -05:00
Jesse Haka 769c02f87c update gophercloud dependency 2020-01-16 11:22:52 +02:00
Justin Santa Barbara fc21f4255f Replace kubernetes mount code with utils
This will remove one of the main dependencies on the
kubernetes/kubernetes repo.
2020-01-04 17:34:31 -05:00
Xiaoyu Zhong 10d349434d Upgrade Alicloud SDK 2019-11-28 22:40:07 +08:00
Peter Rifel 47f9689910 Vendor goimports by adding it to tools.go 2019-11-26 19:33:57 -06:00
Kubernetes Prow Robot 4bc26e1f5d
Merge pull request #8003 from spotinst/feature-spotinst-sdk-v1.36
Spotinst: Upgrade the Spotinst SDK to version 1.36
2019-11-25 19:07:11 -08:00
liranp 39e61a078a
deps: upgrade spotinst-sdk-go (v1.36) 2019-11-25 14:33:54 +02:00
Justin Santa Barbara 3239f44ba8 Run goimports from locked version in go.mod
This avoids relying on the version that happens to be installed.
2019-11-24 01:00:30 -05:00
Kubernetes Prow Robot 2528eff1b4
Merge pull request #7973 from rifelpet/go-1-13
Upgrade go to 1.13
2019-11-21 09:15:29 -08:00
Peter Rifel 024c8a92d7 Upgrade go to 1.13 2019-11-20 09:44:33 -08:00
Peter Rifel 913a06199a Upgrade AWS SDK
This will allow us to use the new max instance lifetime feature on autoscaling groups.

See https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-ec2-auto-scaling-supports-max-instance-lifetime/
2019-11-20 09:23:05 -08:00
mikesplain 7ce9b63282
Update rules go and gazelle 2019-11-16 10:23:59 -05:00
Justin SB d3bad10aa9
Move kops-controller to use a yaml configuration file
This is more in keeping with componentconfig, and lets us add more
options easily in future.
2019-10-13 07:27:52 -07:00
Thomas Jackson cd8c743d1c make gomod 2019-10-10 13:10:13 -07:00
Peter Rifel b674e65fca Add vendoring of controller-tools 2019-10-01 17:24:31 -05:00
Justin SB b094fc0f29
Add test for the float -> resource.Quantity switch
Check that we produce values that can still be parsed
2019-09-29 13:50:47 -04:00
Peter Rifel a8f0c49346 Add staticcheck to vendor directory 2019-09-27 11:58:32 -07:00
Justin SB 728e582360
Fill out kops controller functionality
k8s 1.16 requires that we move label setting away from the kubelet, to
a central controller.  kops-controller is that controller.
2019-09-25 12:04:34 -04:00
mikesplain 1382b326e3 Update gazel-gazelle to match workspace 2019-09-03 11:26:09 -04:00
Justin SB 810c65eb46
Copy well-known users from apiserver
This should eliminate the dependency on k8s.io/apiserver
2019-08-31 08:50:09 -07:00
Justin SB e48cf36353
Create verify-gomod script
Wrapper around go mod tidy

Currently doesn't delete from go.sum, which is untidy but expected
behaviour.
2019-08-30 21:17:17 -07:00
Justin SB 108c87c0ee
Add misspell to vendored tools 2019-08-25 23:31:51 -07:00
Justin SB 17186ff7ba
Generated vendor & bazel from `make gomod`
Automatically generated vendor & BUILD.bazel files
2019-08-25 16:00:41 -04:00
Justin SB 551052631c
Add tools.go for go.mod, remove Gopkg
We also lock our go.sum files
2019-08-25 16:00:35 -04:00
Justin SB 522e509be5
Update dependencies to k8s 1.15.3
We need to pin our dependencies in go.mod, at least until everything is fully go.mod
2019-08-25 14:49:10 -04:00
Justin SB 1943a3401d
Introduce go modules
This is the automatic translation from Gopkg that go.mod does.
2019-08-25 14:49:06 -04:00