Skip to content

Commit 06828ba

Browse files
authored
Use curl follow location for downloading stable.txt
The inner curl (stable.txt) needs a -L to follow location
1 parent 2a14eb7 commit 06828ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/fr/docs/tasks/tools/install-kubectl.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Vous devez utiliser une version de kubectl qui différe seulement d'une version
3030
1. Téléchargez la dernière release avec la commande :
3131

3232
```
33-
curl -LO https://dl.k8s.io/release/$(curl -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl
33+
curl -LO https://dl.k8s.io/release/$(curl -Ls https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl
3434
```
3535
3636
Pour télécharger une version spécifique, remplacez `$(curl -s https://dl.k8s.io/release/stable.txt)` avec la version spécifique.

0 commit comments

Comments
 (0)