OpenShift Rollback selector does not match template labels
Issue
- Trying to rollback my application to a previous version that has a different selector
$ oc rollback myapp --to-version=6
The DeploymentConfig "myapp" is invalid.
spec.template.metadata.labels: Invalid value: {"app":"myapp","deploymentconfig":"myapp"}: `selector` does not match template `labels`
Environment
- OpenShift Container Platform
- 3.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.