Skip to content

Commit 35c190c

Browse files
committed
add kubectl constants
1 parent 2fbbf8c commit 35c190c

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

src/warnet/constants.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,31 @@
161161
"checksum": "fc370a291ed926da5e77acf42006de48e7fd5ff94d20c3f6aa10c04fea66e53c",
162162
},
163163
]
164+
165+
166+
# Kubectl binary
167+
KUBECTL_BINARY_NAME = "kubectl"
168+
KUBECTL_BLESSED_VERSION = "v1.31.1"
169+
KUBECTL_DOWNLOAD_URL_STUB = f"https://dl.k8s.io/release/{KUBECTL_BLESSED_VERSION}/bin"
170+
KUBECTL_BLESSED_NAME_AND_CHECKSUMS = [
171+
{
172+
"system": "linux",
173+
"arch": "amd64",
174+
"checksum": "57b514a7facce4ee62c93b8dc21fda8cf62ef3fed22e44ffc9d167eab843b2ae",
175+
},
176+
{
177+
"system": "linux",
178+
"arch": "arm64",
179+
"checksum": "3af2451191e27ecd4ac46bb7f945f76b71e934d54604ca3ffc7fe6f5dd123edb",
180+
},
181+
{
182+
"system": "darwin",
183+
"arch": "amd64",
184+
"checksum": "4b86d3fb8dee8dd61f341572f1ba13c1030d493f4dc1b4831476f61f3cbb77d0",
185+
},
186+
{
187+
"system": "darwin",
188+
"arch": "arm64",
189+
"checksum": "08909b92e62004f4f1222dfd39214085383ea368bdd15c762939469c23484634",
190+
},
191+
]

0 commit comments

Comments
 (0)