Skip to content

Commit 271f75e

Browse files
authored
Merge pull request #41312 from fabricev/patch-1
Use curl follow location for downloading stable.txt
2 parents 2a14eb7 + 06828ba commit 271f75e

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)