Add an entry inside the /etc/hosts

Hello,

i have installed zero to jupyterhub, that work, and i want just to modify the /etc/hosts to add new entry, like

10.12.0.3 myserver

and i don’t know if we can do that with the helm config, i have an zero-to-jupyterhub-config.yml, does exist some parameters for that ?

Thank you

i finally find a method, i do that by editing and adding this lines in the values.yaml file

extraAnnotations: {}
extraLabels:
hub.jupyter.org/network-access-hub: ‘true’
extraEnv: {}
lifecycleHooks:
postStart:
exec:
command:
- “sh”
- “-c”
- >
echo “10.1.1.1 servername1\n10.1.1.2 servername2” >> /etc/hosts
initContainers: []
extraContainers: []
uid: 1000
fsGid: 100

if you know an another way to do that ?

thank you