File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change 109109]
110110
111111# Helm binary
112- HELM_LATEST_URL = "https://get.helm.sh/helm-latest-version"
113112HELM_DOWNLOAD_URL_STUB = "https://get.helm.sh/"
114113HELM_BINARY_NAME = "helm"
115114HELM_BLESSED_VERSION = "v3.16.1"
Original file line number Diff line number Diff line change 2020 HELM_BLESSED_NAME_AND_CHECKSUMS ,
2121 HELM_BLESSED_VERSION ,
2222 HELM_DOWNLOAD_URL_STUB ,
23- HELM_LATEST_URL ,
2423)
2524from .graph import inquirer_create_network
2625from .network import copy_network_defaults , copy_scenario_defaults
@@ -31,7 +30,6 @@ def setup():
3130 """Setup warnet"""
3231
3332 class ToolStatus (Enum ):
34- NeedsHelm = auto ()
3533 Satisfied = auto ()
3634 Unsatisfied = auto ()
3735
@@ -429,14 +427,6 @@ def download_file(url, destination):
429427 raise Exception (f"Failed to download { url } (status code { response .status_code } )" )
430428
431429
432- def get_latest_version_of_helm () -> Optional [str ]:
433- response = requests .get (HELM_LATEST_URL )
434- if response .status_code == 200 :
435- return response .text .strip ()
436- else :
437- return None
438-
439-
440430def query_arch_from_uname (arch : str ) -> Optional [str ]:
441431 if arch .startswith ("armv5" ):
442432 return "armv5"
You can’t perform that action at this time.
0 commit comments