Default url per profile

I can set the defaultUrl in the config.yaml so that the notebook loads, for example
defaultUrl: “/lab/workspaces/example-workspace/tree/path/to/notebook”

However I want this to change depending on the profile that is selected. This doesn’t work when put under kubespawner override. Is there any way to get this functionality?

Not sure you ever got an answer for this, but for posterity, the syntax to use for for overriding defaultUrl is:

   - display_name: 'my profile'
        default_url: /the_url

Full list of kubespawner config options is available here: KubeSpawner — kubespawner 1.0.1.dev0 documentation