kubeflow / metadata

Repository for assets related to Metadata.
Apache License 2.0
121 stars 69 forks source link

K8s Watcher should use a config map to load the resource list #244

Closed jlewi closed 2 years ago

jlewi commented 3 years ago

/kind feature

Right now the deployment is relying on the resource list json being baked into the docker image. https://github.com/kubeflow/metadata/blob/04b5e5630721d672049aa46361597c57514e28e6/watcher/dockerfiles/watcher.yaml#L22

This should be changed to instead use a config map. We should use a kustomize config map generator so that the config map has a unique name based on the content hash.

/cc @karlschriek @Swikar