Implement dynamic content for the sidebar (config.json
) driven by relations rather than the default static version
#8
Labels
config.json
) driven by relations rather than the default static version
#8
The sidebar content (links to Notebooks, Experiments, ...) is defined statically in
src/config.json
, which gets deployed as aconfigmap
. These links will exist regardless of whether the associated component exists, and must be defined based on our best guess of what features kubeflow will be deployed with. If users add/remove features, they either have to fork the charm, modify theconfigmap
themselves after deploy, or use thedashboard-configmap
charm config option to point at a differentconfigmap
.Using relations, we could allow dashboards to subscribe into the central dashboard and the dashboard can reflect what is deployed right now. Something like
juju relate kubeflow-dashboard:menuLinks kfp-ui:menuLinks
, which would trigger an update to theconfigmap
. This would let the dashboard reflect this particular user's deployment easily and be a nice advantage of a charmed kubeflow.Downsides/complications I can think of to this:
The text was updated successfully, but these errors were encountered: