mirror of
https://github.com/Azure/setup-kubectl.git
synced 2026-05-23 05:55:52 +00:00
Remove download redirects, use cdn.dl.k8s.io domain (#219)
dl.k8s.io redirects to cdn.dl.k8s.io which somehow results in constants download errors on a self-hosted runner in the UAE region. Other regions were not affected. Updating the domains fixed the issue
This commit is contained in:
parent
a0bf2818e7
commit
f366ff3801
3 changed files with 8 additions and 8 deletions
|
|
@ -12,7 +12,7 @@ import {
|
|||
|
||||
const kubectlToolName = 'kubectl'
|
||||
const stableKubectlVersion = 'v1.15.0'
|
||||
const stableVersionUrl = 'https://dl.k8s.io/release/stable.txt'
|
||||
const stableVersionUrl = 'https://cdn.dl.k8s.io/release/stable.txt'
|
||||
|
||||
export async function run() {
|
||||
let version = core.getInput('version', {required: true})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue