Skip to content

Commit

Permalink
Merge pull request #63 from mmalyska/releases/v0.12.0
Browse files Browse the repository at this point in the history
Change kubectl download url, update README
  • Loading branch information
yokawasa authored Nov 3, 2024
2 parents 5fe3850 + 02d934b commit c1bf253
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function getDownloadURL(commandName, version, archType) {
switch (commandName) {
case 'kubectl':
urlFormat =
'https://storage.googleapis.com/kubernetes-release/release/v{ver}/bin/linux/{arch}/kubectl';
'https://dl.k8s.io/release/v{ver}/bin/linux/{arch}/kubectl';
break;
case 'kustomize':
urlFormat =
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "action-setup-kube-tools",
"version": "0.11.0",
"version": "0.11.1",
"private": true,
"description": "Github Action that install Kubernetes tools (kubectl, kustomize, helm, kubeconform, conftest, yq, etc.) and cache them on the runner",
"main": "lib/main.js",
Expand Down
3 changes: 1 addition & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ function getDownloadURL(
let urlFormat = ''
switch (commandName) {
case 'kubectl':
urlFormat =
'https://storage.googleapis.com/kubernetes-release/release/v{ver}/bin/linux/{arch}/kubectl'
urlFormat = 'https://dl.k8s.io/release/v{ver}/bin/linux/{arch}/kubectl'
break
case 'kustomize':
urlFormat =
Expand Down

0 comments on commit c1bf253

Please sign in to comment.