siamaksade / openshift-jenkins-demo

CI/CD Demo on OpenShift
http://www.openshift.com
530 stars 928 forks source link

Gogs loses configuration after oc cluster down #33

Open jaenswart opened 7 years ago

jaenswart commented 7 years ago

Everytime I do a oc cluster down and then up again (I have host-data-dir configured) , Gogs goes back to the installation screen.

This loses all repository history even if pointed again to the gogs-postfreqsl pod (gives a 500 error at that point to the repo)

siamaksade commented 7 years ago

This demo does not use persistent volumes and therefore containers lose their data when restarted.

zhumingvictor commented 7 years ago

Anyway we can add persistence volume to it?