The following environment variables are hardcoded, these env vars contain the names of ServiceAccounts owned by kubeflow charms, they should rather be passed with relation data:
ISTIO_INGRESS_GATEWAY_PRINCIPAL - SA is owned by istio-gateway charm, name is set here
NOTEBOOK_CONTROLLER_PRINCIPAL - SA is owned by jupyter-controller charm, it's ceated by juju to have the same name as the application.
KFP_UI_PRINCIPAL- SA is owned by kfp-ui charm, it's ceated by juju to have the same name as the application.
Bug Description
introduced in https://github.com/canonical/kubeflow-profiles-operator/pull/155
The following environment variables are hardcoded, these env vars contain the names of
ServiceAccounts
owned by kubeflow charms, they should rather be passed with relation data:ISTIO_INGRESS_GATEWAY_PRINCIPAL
- SA is owned byistio-gateway
charm, name is set hereNOTEBOOK_CONTROLLER_PRINCIPAL
- SA is owned byjupyter-controller
charm, it's ceated by juju to have the same name as the application.KFP_UI_PRINCIPAL
- SA is owned bykfp-ui
charm, it's ceated by juju to have the same name as the application.this can be implemented in a similar manner to
istio_gateway_info
library