siamaksade / openshift-demos-ansible

Ansible Roles and Playbook for Deploying OpenShift Demos
9 stars 31 forks source link

Restart database dependent pods after remove persistent storage #1

Open siamaksade opened 6 years ago

siamaksade commented 6 years ago

After deployment, some databases are not initialized since the app pod is already deployed and doesn't know that database is redeployed without storage. The current task does give the desired effect: https://github.com/siamaksade/openshift-demos-ansible/blob/master/roles/openshift_coolstore/tasks/make_ephemeral.yml#L25