From 95dd0b33abdfa770b3c3381fd5a3d99838dd4858 Mon Sep 17 00:00:00 2001 From: Stefan Midjich Date: Tue, 14 Jun 2022 21:17:03 +0200 Subject: [PATCH] Update content/en/docs/reference/kubectl/cheatsheet.md Co-authored-by: Rey Lejano --- content/en/docs/reference/kubectl/cheatsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/reference/kubectl/cheatsheet.md b/content/en/docs/reference/kubectl/cheatsheet.md index 95985c09af..4ec1327886 100644 --- a/content/en/docs/reference/kubectl/cheatsheet.md +++ b/content/en/docs/reference/kubectl/cheatsheet.md @@ -178,7 +178,7 @@ kubectl get configmap myconfig \ -o jsonpath='{.data.ca\.crt}' # Retrieve a value with dashes instead of underscores. -kubectl get secret mysecret --template='{{index .data "key-name-with-dashes"}}' +kubectl get secret my-secret --template='{{index .data "key-name-with-dashes"}}' # Get all worker nodes (use a selector to exclude results that have a label # named 'node-role.kubernetes.io/master')