adgaultier
adgaultier
jupyter-web-app throws KeyError: 'matchLabels' when PodDefault does not contain matchLabels selector
Any update? More context: /jupyter/api/namespaces/xxx/poddefaults seem to be only working with podDefaults using MatchLabels as it is hard-coded [here](https://github.com/kubeflow/kubeflow/blob/a1ea0e92559d13e05c4427094c7a26de1002fcc0/components/crud-web-apps/jupyter/backend/apps/common/routes/get.py#L37) but PodDefault uses[ metav1.LabelSelectorAsSelector](https://github.com/kubeflow/kubeflow/blob/e328615f73051efa5d66f01f61b6efb4f051a87d/components/admission-webhook/main.go#L76C20-L76C50) which is compatible with (more expressive) MatchExpressions...
I have a workaround to use bedrock embeddings with multi-regions and async support if someone is interested ```import json from random import choice from typing import List, Literal, Union import...