rht-labs / labs-ci-cd

👻UNMAINTAINED - A collection of Red Hat Open Innovation Labs CI/CD components
Apache License 2.0
101 stars 70 forks source link

Change Rolling deployment to Recreate deployment #154

Closed InfoSec812 closed 6 years ago

InfoSec812 commented 6 years ago

The Nexus template uses "Rolling" deployment which means that it will try to start the replacement Pod before the it stops the existing Pod. Since Nexus uses a RWO PVC this Rolling deployment will fail. Change it to use a Recreate deployment.

https://github.com/rht-labs/labs-ci-cd/blob/c7381201586f7ee8b7ca81a36db35b403c22dc59/openshift-templates/nexus/template.json#L87

sherl0cks commented 6 years ago

resolved by #155