When defining a postStart lifecycle hook for singleuser pods in the Helm chart values, placing the hook inside the singleuser block causes it to be silently ignored. Even though the value is syntactically valid YAML.
I’m using the bitnami charts with an app_version “4.0.2”
Is the bitnami charts respecting config structured like that? That seems like the official JupyterHub charts config structure – maybe you are using an example from that chart instead of bitnami’s jupyterhub chart?
Lifecycle hooks for “singleuser” should result in configuration of KubeSpawner. What is rendered by helm templates must therefore be considered via a jupyterhub config file, in order to configure kubespawner’s config on how to construct the pod to have a lifecycle hook.