origin: oc run doesn't seem to work with imagestream/istag
I’ve got an istag/foo:latest. I can’t seem to do oc run --tty -i --attach is/foo or oc run --tty -i --attach istag/foo:latest, both of which I’d expect to work.
User error or hole?
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 15 (11 by maintainers)
We have use case where we don’t want to
oc createbut want to start a pod to be able to use a cli query tool.You can work around the limitation in bash by doing de following:
oc run --image=$(oc get is NAME -o=go-template='{{ .status.dockerImageRepository}}' -n NAMESPACE)etc…