-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Corrected param shortcode. #35725
Corrected param shortcode. #35725
Conversation
PTAL |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
@@ -32,7 +32,7 @@ upgrade the control plane nodes before upgrading your Windows nodes. | |||
|
|||
1. From the Windows node, upgrade kubeadm: | |||
|
|||
```powershell | |||
```shell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💭 this isn't right: the code is PowerShell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, @sftim for taking look at this.
If we want to keep the code as Powershell so then we can put the URL (https://dl.k8s.io/{{< param "fullversion" >}}/bin/windows/amd64/...) into the inverted commas (" ") will resolve this issue.
look like this:
# replace v1.24.0 with your desired version
curl.exe -Lo <path-to-kubeadm.exe> "https://dl.k8s.io/v1.24.0/bin/windows/amd64/kubeadm.exe"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it seems good?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. You could try quoting the URL, that looks like it'd be valid PowerShell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. You could try quoting the URL, that looks like it'd be valid PowerShell.
I will update it soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have addressed the comment.
PTAL!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use single quotes in powershell too.
The currently changes also work
/lgtm |
LGTM label has been added. Git tree hash: c16635385712296578f0a3dc6fa6107bece946ab
|
/lgtm |
/label tide/merge-method-squash |
I checked and confirm that the command
works with Windows PowerShell. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: natalisucks The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Corrected param shortcode. * Quote the URL.
This PR corrects the
param shortcode
in Upgrading Windows nodes task.Fixes: #35686