If you export ImageStream having Spec.DockerImageRepository all of its tags are striped and not exported!
I probably found the line causing this 181: https://github.com/openshift/origin/blob/master/pkg/cmd/cli/cmd/exporter.go
IMHO you should copy tags from spec and status as well.
Version
oc v1.1.4
kubernetes v1.2.0-origin-41-g91d3e75
Steps To Reproduce
- oc new-project original-project
- oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-world.git
- oc new-project import
- oc export is,bc -o yaml -n original-project | oc create -f - -n import
- oc start-build ruby-hello-world -n import
Current Result
Error from server: imageStreamTag "ruby-22-centos7:latest" not found
Expected Result
No error
If you export ImageStream having Spec.DockerImageRepository all of its tags are striped and not exported!
I probably found the line causing this 181: https://github.com/openshift/origin/blob/master/pkg/cmd/cli/cmd/exporter.go
IMHO you should copy tags from spec and status as well.
Version
oc v1.1.4
kubernetes v1.2.0-origin-41-g91d3e75
Steps To Reproduce
Current Result
Error from server: imageStreamTag "ruby-22-centos7:latest" not found
Expected Result
No error