CrashLoopBackOff due to PermissionError: [Errno 13] Permission denied: '/srv/jupyterhub/jupyterhub_cookie_secret'

This code  in config.yaml which I saw in one of the discussions on discourse.jupyter.org worked for me

## This portion is missing from the tutorial for anyone trying to setup on bare metal.
hub:
  db:
    type: sqlite-memory

singleuser:
  storage:
    type: sqlite-memory
##