Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix kubectl download url #1178

Merged
merged 1 commit into from May 18, 2023
Merged

Conversation

aramase
Copy link
Member

@aramase aramase commented May 17, 2023

Add -L flag to the curl command to follow redirect while getting the latest stable version for kubectl.

➜ curl -s https://dl.k8s.io/release/stable.txt
<html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

➜ curl -sL https://dl.k8s.io/release/stable.txt
v1.27.2

Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
@aramase aramase requested a review from nilekhc as a code owner May 17, 2023 23:14
@aramase
Copy link
Member Author

aramase commented May 17, 2023

/azp run pr-e2e-azure

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@codecov-commenter
Copy link

Codecov Report

Merging #1178 (a167cb1) into master (c4d70d7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1178   +/-   ##
=======================================
  Coverage   61.78%   61.78%           
=======================================
  Files          11       11           
  Lines        1078     1078           
=======================================
  Hits          666      666           
  Misses        386      386           
  Partials       26       26           

@aramase aramase merged commit 30f4760 into Azure:master May 18, 2023
29 checks passed
@aramase aramase deleted the aramase/c/fix_kubectl_url branch May 18, 2023 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants