We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e9e7d0 commit 95dd0b3Copy full SHA for 95dd0b3
content/en/docs/reference/kubectl/cheatsheet.md
@@ -178,7 +178,7 @@ kubectl get configmap myconfig \
178
-o jsonpath='{.data.ca\.crt}'
179
180
# Retrieve a value with dashes instead of underscores.
181
-kubectl get secret mysecret --template='{{index .data "key-name-with-dashes"}}'
+kubectl get secret my-secret --template='{{index .data "key-name-with-dashes"}}'
182
183
# Get all worker nodes (use a selector to exclude results that have a label
184
# named 'node-role.kubernetes.io/master')
0 commit comments