From 2919e71c2bff928c51393c6cd643cb62f7c2f1b2 Mon Sep 17 00:00:00 2001 From: Kimonas Sotirchos Date: Wed, 20 Jul 2022 15:37:06 +0300 Subject: [PATCH] Update master branch manifests with release-specific commits (#42) * manifests: Update to v0.8.0 tag Signed-off-by: Kimonas Sotirchos * 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 * 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 +- config/base/kustomization.yaml | 2 +- config/overlays/kubeflow/kustomization.yaml | 1 + config/overlays/kubeflow/patches/web-app-vsvc.yaml | 4 ++++ 4 files changed, 7 insertions(+), 2 deletions(-) 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: 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: 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: