mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
feat: Compute the kubectl download version map at build time
- Allows for bundled kubectl config to be changed without code changes - Introduce @k8slens/kubectl-versions - Compile time fetching of versions - Update @swc/* packages Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
2debe61359
commit
0bd7b1fe92
26 files changed
+348
-70
No files matched your search
@@ -0,0 +1,8 @@
|
||||
# @k8slens/kubectl-versions
|
||||
|
||||
This package contains a JSON array of entries of the format ["MAJOR.MINOR", "MAJOR.MINOR.PATCH"].
|
||||
|
||||
This object represents the current (at time of building each release of this package)
|
||||
greatest PATCH version for each "MAJOR.MINOR" version of `kubectl`.
|
||||
This is done at compile time so that we don't have to worry about being able to access this data on user machines.
|
||||
Furthermore, this is dynamic in that the previous method was to update the table by hand.
|
||||
Reference in new issue
Block a user