Comments (2)
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'])
from openshift-client-python.
Thanks @bradmwilliams. It is a good solution for my request.
from openshift-client-python.
Related Issues (20)
- oc cp: Success but no File
- Creation of a Route onject raise ResourceNotFoundError excpetion when serving.knative.dev/v1 Route api resource is present on the cluster HOT 1
- Allow oc exec into statefulset
- APIObject doesn't respect context namespace HOT 5
- Error error: invalid resource name \"pod/xxxx\": [may not contain '/'] HOT 6
- use selector to find objects without a specific label HOT 1
- Selector#until_all or Selector#until_any methods do not have a timeout HOT 2
- [Question] sharing context with subprocess HOT 2
- [Question] sharing context with subprocess
- Project missing LICENSE file
- Each log has head string and tail string HOT 2
- How is this client different from others? HOT 1
- missing positional argumetn in start_build()
- Change/update package namespace HOT 7
- A way to stream stdout? HOT 3
- scale function in selector.py has incorrect base_args HOT 1
- Allow custom subclasses of APIObject for Selector.object() and Selector.objects() HOT 3
- How to get project's route/service/configmaps? HOT 2
- oc run HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openshift-client-python.