docs: fix broken command examples in tasks#56069
Conversation
Five small fixes where the example as written wouldn't run: - network/extend-service-ip-ranges: heredoc needs `<<EOF`, not `<EOF` - manage-kubernetes-objects/storage-version-migration: the resource field takes the plural resource name `selfierequests`, not the kind `SelfieRequest` - debug/debug-application/debug-service: EndpointSlice label is `kubernetes.io/service-name`, not `k8s.io/service-name` - administer-cluster/kubeadm/adding-windows-nodes: code fence closed with six backticks instead of three - administer-cluster/controller-manager-leader-migration: two kubectl patch commands had a stray trailing backtick
|
Welcome @emmayusufu! |
✅ Pull request preview available for checkingBuilt without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Thanks! /lgtm |
|
LGTM label has been added. DetailsGit tree hash: 4c195c4c81135625b43dcf4cc4424ab95e69d862 |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: divya-mohan0209 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
A few command examples in the tasks docs don't run as written.
network/extend-service-ip-ranges:cat <EOFredirects stdin from a file named EOF; the heredoc needscat <<EOF(the closingEOFconfirms the intent).manage-kubernetes-objects/storage-version-migration:spec.resource.resourcetakes the plural resource name. The CRD'spluralisselfierequestsand the sibling example usessecrets, so the kindSelfieRequestis wrong here.debug/debug-application/debug-service: the EndpointSlice label iskubernetes.io/service-name, so the selectork8s.io/service-namematches nothing.administer-cluster/kubeadm/adding-windows-nodes: the PowerShell block is closed with six backticks instead of three.administer-cluster/controller-manager-leader-migration: bothkubectl patchcommands end with a stray backtick that would be passed to the shell.