Skip to content

Commit

Permalink
manifests: Update gateways and prefix (kserve#32)
Browse files Browse the repository at this point in the history
* manifests: Use explicit gateways

Replace the variable substitution for the web app and hardcode the
Gateway that will be used in each case.

Signed-off-by: Kimonas Sotirchos <[email protected]>

* manifests: Set the prefix in the backend

The backend should also be aware of the prefix in order to configure the
frontend files accordingly.

Signed-off-by: Kimonas Sotirchos <[email protected]>
  • Loading branch information
kimwnasptd committed Jul 20, 2022
1 parent fdc72f2 commit 8f2d253
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/overlays/kubeflow/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ configMapGenerator:
behavior: replace
literals:
- USERID_HEADER=kubeflow-userid
- APP_PREFIX=/kserve-endpoints

configurations:
- params.yaml
4 changes: 4 additions & 0 deletions config/overlays/kubeflow/patches/web-app-vsvc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- op: replace
path: /spec/gateways
value:
- kubeflow/kubeflow-gateway
- op: replace
path: /spec/http/0/route/0/destination
value:
Expand Down

0 comments on commit 8f2d253

Please sign in to comment.