openshift/origin — pull request #366 by csrwng (2014-11-07 12:57:07+00:00)
Title: Fix registry pod unnecessary deployments in e2e test

There's a couple of reasons the basic deployment controller thinks the pod template of the last deployment and the one in the deployment config are different.
* The controller is adding tags to the deployment object when it uses the pod template object for the new replication controller. The object still points to the one on the deployment, so any label changes get persisted on the deployment object as well.
* The volume source pointer (when a volume is specified in the pod template) will always have a different value when printed in %#v form.