I would like to know the tag applied to all the images in a namespace. Is there any oc command to view tags in a namespace?
Before posting this question, i googled. However i didn't find any. So I am posting this question here.
I would like to know the tag applied to all the images in a namespace. Is there any oc command to view tags in a namespace?
Before posting this question, i googled. However i didn't find any. So I am posting this question here.
You may get details from imagestreamtag object. If you need formatted tags only as a list you can execute this command.
oc get imagestreams imagename -o jsonpath='{range .status.tags[*]}{.tag}{"\n"}'
This will return something like this as result as formatted:
20.10.321
20.13.328
20.14.333
20.14.338
20.16.342