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 109
109
]
110
110
111
111
# Helm binary
112
- HELM_LATEST_URL = "https://get.helm.sh/helm-latest-version"
113
112
HELM_DOWNLOAD_URL_STUB = "https://get.helm.sh/"
114
113
HELM_BINARY_NAME = "helm"
115
114
HELM_BLESSED_VERSION = "v3.16.1"
Original file line number Diff line number Diff line change 20
20
HELM_BLESSED_NAME_AND_CHECKSUMS ,
21
21
HELM_BLESSED_VERSION ,
22
22
HELM_DOWNLOAD_URL_STUB ,
23
- HELM_LATEST_URL ,
24
23
)
25
24
from .graph import inquirer_create_network
26
25
from .network import copy_network_defaults , copy_scenario_defaults
@@ -31,7 +30,6 @@ def setup():
31
30
"""Setup warnet"""
32
31
33
32
class ToolStatus (Enum ):
34
- NeedsHelm = auto ()
35
33
Satisfied = auto ()
36
34
Unsatisfied = auto ()
37
35
@@ -429,14 +427,6 @@ def download_file(url, destination):
429
427
raise Exception (f"Failed to download { url } (status code { response .status_code } )" )
430
428
431
429
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
-
440
430
def query_arch_from_uname (arch : str ) -> Optional [str ]:
441
431
if arch .startswith ("armv5" ):
442
432
return "armv5"
You can’t perform that action at this time.
0 commit comments