mirror of
https://github.com/azure/setup-kubectl.git
synced 2026-12-03 19:51:53 +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:
+1
-1
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user