Commit Graph

7 Commits

Author SHA1 Message Date
Ciprian Hacman bc4eb919cf Install CNI network plugins only for specific CNIs 2025-01-02 15:18:32 +02:00
justinsb 3f38846ca5 refactor: create abstraction over cluster/instancegroup for building assets
This abstraction should let us change the version on an instance group level.
2024-11-27 07:38:34 -05:00
justinsb 49de7d6648 refactor: build assets for kubernetes and nodeup explicitly
Also remove the (potentially) confusing FileAssets type.
2024-11-24 18:29:42 -05:00
justinsb 3646a610b1 refactor: Move GetCloudProvider to cluster
This lets us use labels (or annotations), meaning we can experiment
with different clouds without changing the API.

We also add initial (experimental/undocumented) support for exposing a "Metal" provider.
2024-08-26 08:20:37 -04:00
justinsb fc049f40f3 Use embedded hashes for our well-known assets
Rather than downloading the hash every time, we can record the hashes
for our well-known assets and bake them into the kOps binary.  If the
hash is not baked in, we will continue to fall-back to downloading it,
this is important for new k8s versions, or where the user specifies a
version of one of our well-known assets (such as containerd).
2024-05-09 10:27:33 -04:00
justinsb 192b880434 chore: refactor MirroredAsset into assets
This seems logically coherent, and is part of the work to start using
compiled-in hashes for most well-known assets.
2024-03-30 10:34:27 -04:00
justinsb e5d5175e08 refactor: isolate asset construction out of cloudup
Continuing the node/infra splitting.
2024-03-28 08:04:46 -04:00