-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Description
Is there a more efficient way to obtain the dockerImageLayers for all images? Currently with oc get istag --all the dockerImageLayers info is omitted. I get the same result when listing all ImageStreamTags via the REST API as well. Is there a flag I can pass to have the imageLayer data returned in a v1.ImageStreamTagList?
$ oc version
oc v3.11.43
kubernetes v1.11.0+d4cacc0
features: Basic-Auth GSSAPI Kerberos SPNEGO
Server <snip>
openshift v3.11.43
kubernetes v1.11.0+d4cacc0
Steps To Reproduce
oc get istag --all -o yaml
Current Result
Output contains no dockerImageLayers info, it is set to 'null':
apiVersion: v1
items:
- apiVersion: image.openshift.io/v1
generation: 20
image:
dockerImageLayers: null
Expected Result
I'd like to have a way to get the dockerImageLayers for all tags at once. Currently what I have to do is:
- get the list of istags
- get data for each one individually to then look up the image layer info
This is really time consuming because we have ~300 images
Metadata
Metadata
Assignees
Labels
lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.