Skip to content

Commit

Permalink
Make Katib work with Ambassador. (#1103) (#1150)
Browse files Browse the repository at this point in the history
* Katib uses "/katib" as the route path; so we change the Ambassador mapping
  to use /katib and not /modeldb as the prefix.

* I was able to load /katib/projects successfully behind IAP with this change
  I didn't actually try to use it though.

Fix: kubeflow/katib#118
  • Loading branch information
jlewi authored and k8s-ci-robot committed Jul 10, 2018
1 parent 3b5c786 commit 6cfc1e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubeflow/katib/modeldb.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@
"apiVersion: ambassador/v0",
"kind: Mapping",
"name: modeldb-mapping",
"prefix: /modeldb/",
"rewrite: /",
"prefix: /katib/",
"rewrite: /katib/",
"method: GET",
"service: " + "modeldb-frontend." + namespace + ":3000",
]),
Expand Down

0 comments on commit 6cfc1e7

Please sign in to comment.