Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to print metadata information #148

Merged
merged 3 commits into from
Oct 23, 2024

Commits on Oct 23, 2024

  1. Add option to print metadata information

    This adds an option to print out container metadata. In the case of
    CRI-O this can look like:
    
    ├── Metadata
    │   ├── Name: counters
    │   ├── Namespace: default
    │   └── Annotations
    │       ├── io.kubernetes.cri-o.ImageName: quay.io/adrianreber/counter:latest
    
    Currently this contains all annotations from the container.
    
    Signed-off-by: Adrian Reber <[email protected]>
    adrianreber committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    29b6919 View commit details
    Browse the repository at this point in the history
  2. Adapt tests to handle metadata output

    The output of '--all' changes with the introduction of additional
    information. This removes two hardcoded lines and adds it to the section
    that the line just needs to exist somewhere.
    
    Signed-off-by: Adrian Reber <[email protected]>
    adrianreber committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    8c62702 View commit details
    Browse the repository at this point in the history
  3. Update README with example for --metadata

    Signed-off-by: Adrian Reber <[email protected]>
    adrianreber committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    692adc3 View commit details
    Browse the repository at this point in the history