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.
2 parents 4e1461d + dd9061e commit fe11368Copy full SHA for fe11368
content/en/docs/reference/kubectl/cheatsheet.md
@@ -187,6 +187,9 @@ kubectl get pods --selector=app=cassandra -o \
187
kubectl get configmap myconfig \
188
-o jsonpath='{.data.ca\.crt}'
189
190
+# Retrieve a base64 encoded value with dashes instead of underscores.
191
+kubectl get secret my-secret --template='{{index .data "key-name-with-dashes"}}'
192
+
193
# Get all worker nodes (use a selector to exclude results that have a label
194
# named 'node-role.kubernetes.io/control-plane')
195
kubectl get node --selector='!node-role.kubernetes.io/control-plane'
0 commit comments