Skip to content

[Request]: Image resource id property should omit hash scheme. #1657

@jglogan

Description

@jglogan

Feature or enhancement request details

#1652 conformed the image resource to ManagedResource with the image.id structured output at the CLI being the same as the configuration.descriptor.digest.

To make life easier once we use id for Docker-style system-assigned identifiers, id should strip the sha256: scheme so that it's simply a 32 hex digit value.

Also to move the CLI output a little further in that direction, we should update trimDigest so that is removes the hash scheme, and trims the ID to 12 digit, without appending an ellipsis.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

clinextMust-have items for current and next milestoneuxUser experience features and fixes.
No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions