Add format to podman secret ls

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh 2023-03-13 16:25:44 -04:00
parent 1c4bd4a736
commit 2555c80340
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028
1 changed files with 14 additions and 0 deletions

View File

@ -28,6 +28,20 @@ Valid filters are listed below:
Format secret output using Go template.
Valid placeholders for the Go template are listed below:
| **Placeholder** | **Description** |
| ------------------------ | ----------------------------------------------------------------- |
| .CreatedAt | When secret was created (relative timestamp, human-readable) |
| .ID | ID of secret |
| .Spec ... | Details of secret |
| .Spec.Driver | Driver info |
| .Spec.Driver.Name | Driver name (string) |
| .Spec.Driver.Options ... | Driver options (map of driver-specific options) |
| .Spec.Labels | Labels for this secret |
| .Spec.Name | Name of secret |
| .UpdatedAt | When secret was last updated (relative timestamp, human-readable) |
@@option noheading
#### **--quiet**, **-q**