Merge pull request #24154 from ehelms/fix-podman-secret-inspect-examples

Fix typo in secret inspect examples
This commit is contained in:
openshift-merge-bot[bot] 2024-10-04 12:14:09 +00:00 committed by GitHub
commit 1df98eeb9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -51,14 +51,14 @@ Inspect the secret mysecret.
$ podman secret inspect mysecret $ podman secret inspect mysecret
``` ```
Inspect the secret mysecret and display the Name and Scope field. Inspect the secret mysecret and display the Name and Labels field.
``` ```
$ podman secret inspect --format "{{.Name} {{.Scope}}" mysecret $ podman secret inspect --format "{{.Spec.Name}} {{.Spec.Labels}}" mysecret
``` ```
Inspect the secret mysecret and display the Name and SecretData fields. Note this will display the secret data to the screen. Inspect the secret mysecret and display the Name and SecretData fields. Note this will display the secret data to the screen.
``` ```
$ podman secret inspect --showsecret --format "{{.Name} {{.SecretData}}" mysecret $ podman secret inspect --showsecret --format "{{.Spec.Name}} {{.SecretData}}" mysecret
``` ```
## SEE ALSO ## SEE ALSO