Commit Graph

20 Commits

Author SHA1 Message Date
Sargun Dhillon
1c581260d5 Add envtest
I know it's not an impressive test. It just brings up a node, and
makes sure it registers. Let's do more in the future.

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
2020-11-06 20:37:35 -08:00
Adrien Trouillaud
845b4cd409 upgrade k8s libs to 1.18.4 2020-07-07 21:00:56 -07:00
Sargun Dhillon
5f64eab109 Fix kubernetes version dependency checking script
We had locked to version v1.17.6 when this script was released. At the time,
it was also the current stable release, and what was presented by the
github API. It turns out the Github API does not present all tags. This
changes it to fetch the annotated tag from the upstream repo.
2020-06-22 22:53:27 -07:00
Sargun Dhillon
bef6eda40d Add versioning pinning checker and instructions
This ensures that the version pinning is setup correctly, so all the deps
are pointing at the right underlying versions.
2020-06-04 16:27:04 -07:00
Brian Goff
3840bc2666 Remove vendor/ (#688)
Vendoring seems to be problematic with go modules.
In addition to causing issues with transitive dependencies and being
problematic when trying to pull in the node-cli code, it also seems to
be pulling different versions than what is computed in go.mod.
This can be seen by comparing commits from the computed version in
go.mod with very small diffs (like a single Godep change in k8s) but massive
vendoring changes.

Basically I have very little confidence that this is even working.
This should be better in go1.13, but this is not released yet.
2019-07-02 18:04:40 +01:00
Brian Goff
77069e63e5 Update to use go modules (#671)
This includes updates to CI config, vendor files, etc.
I've hard-coded the k8s depedency at 1.13.4 to keep it inline with what
we currently have and to make sure a another run of `go mod tidy`
doesn't accidentally update it to an unexpected version.

Thanks to hectorj2f for carrying this along.
2019-06-19 16:17:22 +01:00
Brian Goff
a00c2f4b8b Remove providers (#670)
* Move all but mock provider out of tree

These have all been moved to repos under github.com/virtual-kubelet.

* Introduce a providers.Store

This essentially moves the the old register/ handling into a first class
object that can be controlled from the CLI rather than through build
tags deep in the code.

This actually would have made it a bit easier to build the provider
repos and makes the cmd/ code more re-usable.
2019-06-18 11:11:11 +01:00
Brian Goff
e820c905b7 Remove unused Azure scripts (#618)
This were previously used for setting up azure creds for ACI specific
tests, but are no longer needed since that has moved to a separate repo.
2019-05-14 16:02:33 -07:00
Brian Goff
f8c51004d4 Support building an allow-list of providers (#527)
* Add providers subcommand to verify providers

Allows users to check what providers are available

* Fix version output to add new line

This command was totally broken until we moved around the call to
`initConfig()`, this just fixes the output now that it works.

* Flip boolean of provider include tags

All providers are still included by default and fix tags using the old
format.
2019-03-02 11:25:47 -08:00
tariqibrahim
bf61f7f2e0 Replace dep validation with dep check and resyncing Gopkg.lock 2018-11-14 14:12:29 -08:00
Brian Goff
f31b8245e7 Update dep validation to only check the vendor dir
This helps make sure that different versions of dep don't give different
results.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2018-08-03 21:22:38 -07:00
Jeremy Rickard
6d089bcf11 Merge branch 'master' into ci_validate_vendor 2018-08-03 16:55:53 -06:00
Brian Goff
a1f46e7f04 Validate deps in CI 2018-08-03 13:33:46 -07:00
Rohan Chakravarthy
e41a352d63 add support for log analytics in the ACI SDK 2018-07-24 17:56:38 -07:00
Ahmed Sabbour
61753060c6 Patch/vk chart namespace (#235)
* Fix the dependency issue

* Changed the charts to accept a namespace variable

* Bumped and regenerated chart. Updated createCert for MacOS

* Moving generated charts up in the folder structure
2018-06-26 10:55:23 -07:00
Robbie Zhang
2b85b0d1df Fill in Default Values for CPU/Memory (#130)
Update k8s client and the dependencies
ACI client change for Mocking
Add ACI Provider Mock Tests
Add the Windows development environment
Add UT for Default Resource Requests
Enable the make test in Docker file
Update the vendors
2018-04-16 10:31:16 -07:00
fareszekri
4a6654e08a updated createCertAndKey.sh added -w0 in base64 (#108)
I had to add no wrapping in base64 when using bash on windows  (-w0 in base64) other wise commands fails and cert isn't properly formatted
2018-03-08 11:14:27 -08:00
Rita Zhang
4aeb63892e Add script to generate cert and key pem and update README 2017-12-20 18:19:38 -08:00
Robbie Zhang
0c10accf41 Configure KubeConfig from Script (#24)
* Configure KubeConfig from Script
2017-12-14 20:32:04 +00:00
Ria Bhatia
0075e5b0f3 Initial commit 2017-12-05 17:53:58 -06:00