RedHatOfficial/openemr-kube

Investigate using K8s CronJob

bostrt opened this issue · 2 comments

crond is started in the upstream openemr image (https://github.com/openemr/openemr-devops/blob/master/docker/openemr/5.0.2/run_openemr.sh#L12) for some reason. We need to identify what exactly it is used for and investigate exporting it into a K8s CronJob or if we need to work it back into the UBI based distribution we are building.

I think cron is only used for renewing the LetsEncrypt cert, but we're not supporting that in this openshift/k8s rep.

https://github.com/openemr/openemr-devops/blob/master/docker/openemr/5.0.2/autoconfig.sh#L100

Archiving this since we will not be utilizing LetsEncrypt.