diff --git a/values.template.yaml b/values.template.yaml index ad47b876d7750997d57f86ea54e4abfc9992421e..001edc45b15435ae2878cb48fe42afeac8481750 100644 --- a/values.template.yaml +++ b/values.template.yaml @@ -60,7 +60,15 @@ hub: custom_spawn_pending_html: mountPath: /etc/jupyterhub/custom/spawn_pending.html - + # JupyterHub Start with event log redirection; & cannot be passed in yaml files + jupyterhub_event_log: + mountPath: /etc/jupyterhub/custom/event_command.sh + stringData: | + #! /bin/bash + /usr/local/bin/jupyterhub --config /usr/local/etc/jupyterhub/jupyterhub_config.py --upgrade-db &>> /srv/jupyterhub/event.log + mode: 0777 + + args: [ "/etc/jupyterhub/custom/event_command.sh" ] nodeSelector: topology.kubernetes.io/region: "us-west"