openshift/openshift-client-python

image mirror

lmilbaum opened this issue · 2 comments

Please add the ability of executing: 'image mirror'

Hi @lioramilbaum,
Have you looked into calling image mirror via oc.invoke()?

For instance:
oc.invoke('image', cmd_args=['mirror', 'myregistry.com/myimage:latest', 'myregistry.com/myimage:stable'])

Thanks @bradmwilliams. It is a good solution for my request.