From 8c125749bd7984987c5f52adc45054861f5450dd Mon Sep 17 00:00:00 2001 From: Lianhao Lu Date: Wed, 21 Aug 2024 05:15:55 +0000 Subject: [PATCH] chatqna k8s manifest: Fixed retriever-redis v0.9 image issue Signed-off-by: Lianhao Lu --- .github/workflows/_gmc-e2e.yml | 2 +- .github/workflows/_manifest-e2e.yml | 2 +- ChatQnA/kubernetes/manifests/gaudi/chatqna.yaml | 1 + ChatQnA/kubernetes/manifests/xeon/chatqna.yaml | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_gmc-e2e.yml b/.github/workflows/_gmc-e2e.yml index 71f972433..331eea0c8 100644 --- a/.github/workflows/_gmc-e2e.yml +++ b/.github/workflows/_gmc-e2e.yml @@ -45,7 +45,7 @@ jobs: run: | echo "IMAGE_REPO=$OPEA_IMAGE_REPO" >> $GITHUB_ENV lower_example=$(echo "${{ inputs.example }}" | tr '[:upper:]' '[:lower:]') - echo "APP_NAMESPACE=$lower_example-$(tr -dc A-Za-z0-9 > $GITHUB_ENV + echo "APP_NAMESPACE=$lower_example-$(tr -dc a-z0-9 > $GITHUB_ENV echo "ROLLOUT_TIMEOUT_SECONDS=1800s" >> $GITHUB_ENV echo "KUBECTL_TIMEOUT_SECONDS=60s" >> $GITHUB_ENV echo "continue_test=true" >> $GITHUB_ENV diff --git a/.github/workflows/_manifest-e2e.yml b/.github/workflows/_manifest-e2e.yml index 25cb3b6b5..3974e4ca6 100644 --- a/.github/workflows/_manifest-e2e.yml +++ b/.github/workflows/_manifest-e2e.yml @@ -54,7 +54,7 @@ jobs: echo "IMAGE_REPO=$OPEA_IMAGE_REPO" >> $GITHUB_ENV echo "IMAGE_TAG=${{ inputs.tag }}" >> $GITHUB_ENV lower_example=$(echo "${{ inputs.example }}" | tr '[:upper:]' '[:lower:]') - echo "NAMESPACE=$lower_example-$(tr -dc A-Za-z0-9 > $GITHUB_ENV + echo "NAMESPACE=$lower_example-$(tr -dc a-z0-9 > $GITHUB_ENV echo "ROLLOUT_TIMEOUT_SECONDS=1800s" >> $GITHUB_ENV echo "KUBECTL_TIMEOUT_SECONDS=60s" >> $GITHUB_ENV echo "continue_test=true" >> $GITHUB_ENV diff --git a/ChatQnA/kubernetes/manifests/gaudi/chatqna.yaml b/ChatQnA/kubernetes/manifests/gaudi/chatqna.yaml index 2aecd6f72..02ee4a8da 100644 --- a/ChatQnA/kubernetes/manifests/gaudi/chatqna.yaml +++ b/ChatQnA/kubernetes/manifests/gaudi/chatqna.yaml @@ -125,6 +125,7 @@ data: LANGCHAIN_API_KEY: "insert-your-langchain-key-here" LANGCHAIN_PROJECT: "opea-retriever-service" HF_HOME: "/tmp/.cache/huggingface" + HUGGINGFACEHUB_API_TOKEN: "insert-your-huggingface-token-here" --- # Source: chatqna/charts/tei/templates/configmap.yaml # Copyright (C) 2024 Intel Corporation diff --git a/ChatQnA/kubernetes/manifests/xeon/chatqna.yaml b/ChatQnA/kubernetes/manifests/xeon/chatqna.yaml index 022ddfa4c..8ef6ea2b3 100644 --- a/ChatQnA/kubernetes/manifests/xeon/chatqna.yaml +++ b/ChatQnA/kubernetes/manifests/xeon/chatqna.yaml @@ -125,6 +125,7 @@ data: LANGCHAIN_API_KEY: "insert-your-langchain-key-here" LANGCHAIN_PROJECT: "opea-retriever-service" HF_HOME: "/tmp/.cache/huggingface" + HUGGINGFACEHUB_API_TOKEN: "insert-your-huggingface-token-here" --- # Source: chatqna/charts/tei/templates/configmap.yaml # Copyright (C) 2024 Intel Corporation