Commit Graph

71 Commits

Author SHA1 Message Date
justinsb 1faee9dd8c digitalocean: bootstrap nodes through kops-controller.
We start with a simple node verifier.
2023-05-07 13:17:56 -04:00
srikiz a96bdc754a Incorporate review comments 2023-04-11 14:48:51 +05:30
srikiz 73bd4f19eb minor changes based on rebase with master 2023-04-11 07:51:36 +05:30
srikiz efdccb2e65 incorporate review comments 2023-04-11 07:51:36 +05:30
srikiz f2b4c34047 Fix userdata by using terraform writer 2023-04-11 07:51:36 +05:30
srikiz 9fd9c1e1ef Include tags for volume resource and ssh key for droplet 2023-04-11 07:51:36 +05:30
srikiz eb3214ab44 Initial changes for terraform support 2023-04-11 07:51:02 +05:30
justinsb 150a98e258 DigitalOcean: Support SSH key provisioning
This means we don't need to pre-upload our SSH keys.
2023-02-12 10:34:40 -05:00
John Gardiner Myers f7383b29da Move Cloud into CloudupSubContext 2022-12-18 13:40:02 -08:00
John Gardiner Myers 7c3e32369a Refactor Context into separate cloudup and nodeup types 2022-12-17 17:42:46 -08:00
Ciprian Hacman d29812fc6e Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf 2022-11-19 03:45:23 +02:00
Ciprian Hacman 8f79c9bd68 Replace fi.Bool/Float*/Int*/String() with fi.PtrTo() 2022-11-19 03:45:22 +02:00
Kubernetes Prow Robot 43b2eb0a66
Merge pull request #13628 from zak905/issue_13627_
[DigitalOcean]: make droplet image constant when building droplet in for fitask
2022-05-10 22:56:52 -07:00
zak905 da581fceab [DigitalOcean]: make droplet image constant when building droplet in for fitask 2022-05-10 11:45:49 +02:00
Ciprian Hacman 2f8154692f Allow returning multiple addresses for API 2022-05-09 14:14:15 +03:00
Ole Markus With ce2e877aeb Remove bazel files from vendor 2022-04-12 13:29:03 +02:00
srikiz 97a3ef1566 Initial changes for vpc
More changes for do vpc

some more minor updates

Fix PrivateIP check

Bazel fixes

Minor changes for vpc listing

Minor fixes for DO VPC

Add delete vpc logic

More fixes for vpc usage with gossip based clusters

Fix minor comments in code

Fix mock DO interface to use missing functions

Another fix for mock cloud do for missing interface function

incorporate review comments

incorporate review comments
2022-02-15 17:07:09 +05:30
Peter Rifel e0555bb431
Remove unused json field tags from terraform structs 2021-12-24 14:17:23 -06:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
srikiz c1dadd2854 Fix load balancer retry logic while retrieving api ingress status
Fix bazel errors

Fix loadbalancer task to wait for IP to be created

Fix static checks

Update logs

Run update cluster with verbose two logs

Fix loadbalancer address assignment

Revert verbose changes to update cluster
2021-12-01 22:22:17 +05:30
Kubernetes Prow Robot cd4c475851
Merge pull request #12485 from srikiz/DO-implement-vpc-support
[DigitalOcean] Incorporate existing vpc support for kops
2021-10-05 03:23:09 -07:00
srikiz 3ff6b84215 Remove additional spacing 2021-10-05 12:32:51 +05:30
srikiz 153081f84c Minor changes for fixing vpc association with droplets 2021-10-04 22:21:38 +05:30
Ciprian Hacman 19564888f4 Use "//go:build" lines together with "// +build" lines
The go command now understands //go:build lines and prefers them over // +build lines. The new syntax uses boolean expressions, just like Go, and should be less error-prone. As of this release, the new syntax is fully supported, and all Go files should be updated to have both forms with the same meaning. To aid in migration, gofmt now automatically synchronizes the two forms. For more details on the syntax and migration plan, see https://golang.org/design/draft-gobuild.
2021-09-20 07:35:31 +03:00
srikiz ea6e6c9856 Remove PrivateNetworking option in droplet since it's deprecated 2021-07-06 14:04:40 +05:30
John Gardiner Myers 7c9e7e9286 Make Lifecycle field non-pointer 2021-06-02 23:02:16 -07:00
srikiz b5154bb360 Fix upup cloud.go dependencies based on the new interface spec, also update protokube 2021-05-28 22:37:47 +05:30
Barry Melbourne 1c96e826d9 Remove copyright YEAR from generated Go files 2021-01-03 12:48:50 +00:00
Justin SB 45d11ba12c Replace (some) deprecated ResourceHolder with Resource
This removes more of the deprecated type, but it also simplifies
refactoring the GCE InstanceTemplate.
2020-12-19 09:51:43 -05:00
Justin SB 712f901f61 Ignore changes to ForAPIServer field
It's a system field, we should treat the value as matching.

Issue #9992
2020-10-23 11:19:18 -04: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
John Gardiner Myers 17ae9a6e48 make codegen 2020-07-28 22:13:09 -07:00
John Gardiner Myers 63cb1a16ab make codegen 2020-07-28 11:48:09 -07:00
John Gardiner Myers f72dac180d Switch to new fitasks marker 2020-07-28 11:48:08 -07:00
John Gardiner Myers eb94877ee9 Revert move to explicit dependencies
The change to explicit dependencies lost the dependencies
that were previously found by reflection.
2020-07-20 22:10:46 -07:00
Kubernetes Prow Robot f9262b91e7
Merge pull request #9450 from johngmyers/refactor-apiserver-lb
Refactor how api-server addresses are exported from tasks
2020-06-28 22:08:15 -07:00
John Gardiner Myers 86f157fa27 Refactor how api-server addresses are exported from tasks 2020-06-26 21:38:39 -07:00
John Gardiner Myers 87446f8894 Make all users of userdata declare it as a dependency 2020-06-26 10:31:52 -07:00
Srikanth 4783a547b4 Fix govet 2020-05-12 14:09:29 +05:30
Srikanth 203449d7ac Minor changes for code cleanup 2020-05-12 00:29:02 +05:30
Srikanth b6a197e02e Update minor changes 2020-05-11 15:10:52 +05:30
Srikanth 5d3f2447e4 Changes for handling kops update 2020-05-11 15:10:52 +05:30
Peter Rifel 04a5ead08e Add cty field tags to Terraform structs 2020-04-05 21:18:02 -05:00
Peter Rifel a999b3ea61 fix OWNERS labels format
These need to be lists
2020-03-10 22:47:50 -05:00
Peter Rifel 237a125f2c Add labels to OWNERS files
This will automatically label PRs that touch these directories.

This makes it easier to query GitHub for PRs that affect certain areas of the code.

I mostly used existing labels but created some new ones as well.
2020-03-10 08:35:58 -05:00
Srikanth d8a9470aa4 Incorporate further review comments 2020-02-02 20:22:17 +05:30
Srikanth e440397548 Incorporate review comments 2020-01-28 14:22:49 +05:30
Srikanth 38513b3a91 Address all review comments 2020-01-27 15:03:05 +05:30
Srikanth 42e88a7f89 Initial changes for load balancer task
Add load balancer fi tasks

Add load balancer builder for DO

Fix go imports

Implement FindIPAddress functionality

Add load balancer api ingress status calls

Add error checks for FindIPAddress

Add delete LB option

Update load balancer delete logic

Revert make file changes

revert utils code changes

Revert NewDOCloud changes

Remove minor code comments

Update with gomod for dependencies
2020-01-27 15:03:05 +05:30
Justin SB 802b1add43
Refactor: Add Region() method to fi.Cloud
This enables us to simply the apply logic.
2019-12-22 13:40:38 -05:00