Update download URLs
The storage urls are no longer valid, so I updated them to the dl.k8s.io address.
This commit is contained in:
parent
4beba283ef
commit
01253a1de0
1 changed files with 3 additions and 3 deletions
|
@ -13,14 +13,14 @@ export function getkubectlDownloadURL(version: string, arch: string): string {
|
||||||
switch (os.type()) {
|
switch (os.type()) {
|
||||||
case 'Linux':
|
case 'Linux':
|
||||||
return util.format(
|
return util.format(
|
||||||
'https://storage.googleapis.com/kubernetes-release/release/%s/bin/linux/%s/kubectl',
|
'https://dl.k8s.io/release/v%s/bin/linux/%s/kubectl`,
|
||||||
version,
|
version,
|
||||||
arch
|
arch
|
||||||
)
|
)
|
||||||
|
|
||||||
case 'Darwin':
|
case 'Darwin':
|
||||||
return util.format(
|
return util.format(
|
||||||
'https://storage.googleapis.com/kubernetes-release/release/%s/bin/darwin/%s/kubectl',
|
'https://dl.k8s.io/release/v%s/bin/darwin/%s/kubectl`,
|
||||||
version,
|
version,
|
||||||
arch
|
arch
|
||||||
)
|
)
|
||||||
|
@ -28,7 +28,7 @@ export function getkubectlDownloadURL(version: string, arch: string): string {
|
||||||
case 'Windows_NT':
|
case 'Windows_NT':
|
||||||
default:
|
default:
|
||||||
return util.format(
|
return util.format(
|
||||||
'https://storage.googleapis.com/kubernetes-release/release/%s/bin/windows/%s/kubectl.exe',
|
'https://dl.k8s.io/release/v%s/bin/windows/%s/kubectl.exe`,
|
||||||
version,
|
version,
|
||||||
arch
|
arch
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue