From fdc72f20c97124f9c69b3627d4d0c2b90fd28390 Mon Sep 17 00:00:00 2001 From: Kimonas Sotirchos Date: Wed, 20 Jul 2022 12:04:22 +0300 Subject: [PATCH 1/3] manifests: Update to v0.8.0 tag Signed-off-by: Kimonas Sotirchos --- config/base/kustomization.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/base/kustomization.yaml b/config/base/kustomization.yaml index d22e601..aa8ee91 100644 --- a/config/base/kustomization.yaml +++ b/config/base/kustomization.yaml @@ -13,7 +13,7 @@ commonLabels: images: - name: kserve/models-web-app newName: kserve/models-web-app - newTag: v0.7.0 + newTag: v0.8.0 configMapGenerator: - name: kserve-models-web-app-config literals: From 8f2d253b4b54437d0e4c3ac244f2308afc9aab53 Mon Sep 17 00:00:00 2001 From: Kimonas Sotirchos Date: Fri, 4 Mar 2022 19:07:00 +0200 Subject: [PATCH 2/3] manifests: Update gateways and prefix (#32) * 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 * 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 --- config/overlays/kubeflow/kustomization.yaml | 1 + config/overlays/kubeflow/patches/web-app-vsvc.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/config/overlays/kubeflow/kustomization.yaml b/config/overlays/kubeflow/kustomization.yaml index 985eb83..18f0724 100644 --- a/config/overlays/kubeflow/kustomization.yaml +++ b/config/overlays/kubeflow/kustomization.yaml @@ -36,6 +36,7 @@ configMapGenerator: behavior: replace literals: - USERID_HEADER=kubeflow-userid + - APP_PREFIX=/kserve-endpoints configurations: - params.yaml diff --git a/config/overlays/kubeflow/patches/web-app-vsvc.yaml b/config/overlays/kubeflow/patches/web-app-vsvc.yaml index b4e8817..22eaa9d 100644 --- a/config/overlays/kubeflow/patches/web-app-vsvc.yaml +++ b/config/overlays/kubeflow/patches/web-app-vsvc.yaml @@ -1,3 +1,7 @@ +- op: replace + path: /spec/gateways + value: + - kubeflow/kubeflow-gateway - op: replace path: /spec/http/0/route/0/destination value: From 9c1c4f16b1cde796d2827797af36259ea0008426 Mon Sep 17 00:00:00 2001 From: Kimonas Sotirchos Date: Thu, 27 Jan 2022 19:10:27 +0200 Subject: [PATCH 3/3] Update the manifests for KF release (#27) * rename web-app to base in manifests Signed-off-by: Kimonas Sotirchos * rename the path of the app Signed-off-by: Kimonas Sotirchos --- config/base/istio.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/base/istio.yaml b/config/base/istio.yaml index 27abdea..944eddb 100644 --- a/config/base/istio.yaml +++ b/config/base/istio.yaml @@ -11,7 +11,7 @@ spec: http: - match: - uri: - prefix: /models/ + prefix: /kserve-endpoints/ rewrite: uri: / route: