Skip to content

Commit

Permalink
Update the helm charts development settings
Browse files Browse the repository at this point in the history
* Use kubernetes default imagePullPolicy.
Always for latest image and IfNotPresent for others.
* Use 0-latest as dev version for helm charts

Signed-off-by: Dolpher Du <[email protected]>
  • Loading branch information
yongfengdu committed Nov 25, 2024
1 parent 9714cde commit 2b9782c
Show file tree
Hide file tree
Showing 108 changed files with 141 additions and 175 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/manual-freeze-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ on:
workflow_dispatch:
inputs:
oldversion:
default: "1.1-dev"
default: "0-latest"
description: "Old helm version to be replaced"
required: true
type: string
newversion:
default: "1.1.0"
default: "1.2.0"
description: "New helm version to replace"
required: true
type: string
imageversion:
default: "1.1"
default: "1.2"
description: "New image version to replace"
required: true
type: string
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-release-charts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
inputs:
version:
default: "1.1.0"
default: "0-latest"
description: "Release Version"
required: true
type: string
Expand Down
22 changes: 11 additions & 11 deletions helm-charts/agentqna/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@ description: The Helm chart to deploy AgentQnA
type: application
dependencies:
- name: agent
version: 1.0.0
version: 0-latest
alias: worker
repository: "file://../common/agent"
- name: agent
version: 1.0.0
version: 0-latest
alias: supervisor
repository: "file://../common/agent"
- name: tgi
version: 1.0.0
version: 0-latest
repository: "file://../common/tgi"
condition: tgi.enabled
- name: tei
version: 1.0.0
version: 0-latest
repository: "file://../common/tei"
- name: embedding-usvc
version: 1.0.0
version: 0-latest
repository: "file://../common/embedding-usvc"
- name: teirerank
version: 1.0.0
version: 0-latest
repository: "file://../common/teirerank"
- name: reranking-usvc
version: 1.0.0
version: 0-latest
repository: "file://../common/reranking-usvc"
- name: redis-vector-db
version: 1.0.0
version: 0-latest
repository: "file://../common/redis-vector-db"
- name: retriever-usvc
version: 1.0.0
version: 0-latest
repository: "file://../common/retriever-usvc"
- name: data-prep
version: 1.0.0
version: 0-latest
repository: "file://../common/data-prep"
version: 1.0.0
version: 0-latest
appVersion: "v1.0"
4 changes: 0 additions & 4 deletions helm-charts/agentqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ horizontalPodAutoscaler:
docretriever:
image:
repository: opea/doc-index-retriever
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand All @@ -42,7 +41,6 @@ worker:
port: 9095
image:
repository: opea/agent-langchain
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
strategy: rag_agent_llama
Expand All @@ -63,7 +61,6 @@ supervisor:
port: 9090
image:
repository: opea/agent-langchain
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
strategy: react_llama
Expand All @@ -82,7 +79,6 @@ supervisor:
crag:
image:
repository: aicrowd/kdd-cup-24-crag-mock-api
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0"

Expand Down
16 changes: 8 additions & 8 deletions helm-charts/audioqna/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,27 @@ description: The Helm chart to deploy AudioQnA
type: application
dependencies:
- name: asr
version: 1.0.0
version: 0-latest
repository: "file://../common/asr"
- name: whisper
version: 1.0.0
version: 0-latest
repository: "file://../common/whisper"
- name: tts
version: 1.0.0
version: 0-latest
repository: "file://../common/tts"
- name: speecht5
version: 1.0.0
version: 0-latest
repository: "file://../common/speecht5"
- name: tgi
version: 1.0.0
version: 0-latest
repository: "file://../common/tgi"
- name: llm-uservice
version: 1.0.0
version: 0-latest
repository: "file://../common/llm-uservice"
# Uncomment the following to enable UI when the UI image is ready on DockerHub
# - name: ui
# version: 1.0.0
# version: 0-latest
# repository: "file://../common/ui"
# alias: audioqna-ui
version: 1.0.0
version: 0-latest
appVersion: "1.1"
1 change: 0 additions & 1 deletion helm-charts/audioqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ replicaCount: 1

image:
repository: opea/audioqna
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
20 changes: 10 additions & 10 deletions helm-charts/chatqna/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,35 @@ description: The Helm chart to deploy ChatQnA
type: application
dependencies:
- name: tgi
version: 1.0.0
version: 0-latest
alias: tgi-guardrails
repository: "file://../common/tgi"
condition: guardrails-usvc.enabled
- name: guardrails-usvc
version: 1.0.0
version: 0-latest
repository: "file://../common/guardrails-usvc"
condition: guardrails-usvc.enabled
- name: tgi
version: 1.0.0
version: 0-latest
repository: "file://../common/tgi"
- name: tei
version: 1.0.0
version: 0-latest
repository: "file://../common/tei"
- name: teirerank
version: 1.0.0
version: 0-latest
repository: "file://../common/teirerank"
- name: redis-vector-db
version: 1.0.0
version: 0-latest
repository: "file://../common/redis-vector-db"
- name: retriever-usvc
version: 1.0.0
version: 0-latest
repository: "file://../common/retriever-usvc"
- name: data-prep
version: 1.0.0
version: 0-latest
repository: "file://../common/data-prep"
- name: ui
alias: chatqna-ui
version: 1.0.0
version: 0-latest
repository: "file://../common/ui"
version: 1.0.0
version: 0-latest
appVersion: "v1.0"
1 change: 0 additions & 1 deletion helm-charts/chatqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ replicaCount: 1

image:
repository: opea/chatqna
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
8 changes: 4 additions & 4 deletions helm-charts/codegen/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ description: The Helm chart to deploy CodeGen
type: application
dependencies:
- name: tgi
version: 1.0.0
version: 0-latest
repository: "file://../common/tgi"
- name: llm-uservice
version: 1.0.0
version: 0-latest
repository: "file://../common/llm-uservice"
- name: ui
version: 1.0.0
version: 0-latest
repository: "file://../common/ui"
alias: codegen-ui
version: 1.0.0
version: 0-latest
appVersion: "v1.0"
1 change: 0 additions & 1 deletion helm-charts/codegen/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ replicaCount: 1

image:
repository: opea/codegen
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
8 changes: 4 additions & 4 deletions helm-charts/codetrans/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ description: The Helm chart to deploy CodeTrans
type: application
dependencies:
- name: tgi
version: 1.0.0
version: 0-latest
repository: "file://../common/tgi"
- name: llm-uservice
version: 1.0.0
version: 0-latest
repository: "file://../common/llm-uservice"
- name: ui
version: 1.0.0
version: 0-latest
repository: "file://../common/ui"
alias: codetrans-ui
version: 1.0.0
version: 0-latest
appVersion: "v1.0"
1 change: 0 additions & 1 deletion helm-charts/codetrans/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ LLM_SERVICE_HOST_IP: ""

image:
repository: opea/codetrans
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
6 changes: 3 additions & 3 deletions helm-charts/common/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ apiVersion: v2
name: agent
description: The Helm chart for deploying agent microservice
type: application
version: 1.0.0
version: 0-latest
# The llm microservice server version
appVersion: "v1.0"
dependencies:
- name: tgi
version: 1.0.0
version: 0-latest
repository: file://../tgi
condition: tgi.enabled
- name: vllm
version: 1.0.0
version: 0-latest
repository: file://../vllm
condition: vllm.enabled
1 change: 0 additions & 1 deletion helm-charts/common/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ LOGFLAG: "True"

image:
repository: opea/agent-langchain
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
4 changes: 2 additions & 2 deletions helm-charts/common/asr/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ apiVersion: v2
name: asr
description: The Helm chart for deploying asr as microservice
type: application
version: 1.0.0
version: 0-latest
# The asr microservice server version
appVersion: "v1.0"
dependencies:
- name: whisper
version: 1.0.0
version: 0-latest
repository: file://../whisper
condition: whisper.enabled
1 change: 0 additions & 1 deletion helm-charts/common/asr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ ASR_ENDPOINT: ""

image:
repository: opea/asr
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
4 changes: 2 additions & 2 deletions helm-charts/common/chathistory-usvc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ apiVersion: v2
name: chathistory-usvc
description: The Helm chart for deploying chat history as microservice
type: application
version: 1.0.0
version: 0-latest
# The chat history microservice server version
appVersion: "v1.0"
dependencies:
- name: mongodb
version: 1.0.0
version: 0-latest
repository: file://../mongodb
condition: mongodb.enabled
1 change: 0 additions & 1 deletion helm-charts/common/chathistory-usvc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ replicaCount: 1

image:
repository: opea/chathistory-mongo-server
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
6 changes: 3 additions & 3 deletions helm-charts/common/data-prep/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ apiVersion: v2
name: data-prep
description: The Helm chart for deploying data prep as microservice
type: application
version: 1.0.0
version: 0-latest
# The data prep microservice server version
appVersion: "v1.0"
dependencies:
- name: tei
version: 1.0.0
version: 0-latest
repository: file://../tei
condition: tei.enabled
- name: redis-vector-db
version: 1.0.0
version: 0-latest
repository: file://../redis-vector-db
condition: redis-vector-db.enabled
- name: milvus
Expand Down
1 change: 0 additions & 1 deletion helm-charts/common/data-prep/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ replicaCount: 1

image:
repository: opea/dataprep-redis
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
4 changes: 2 additions & 2 deletions helm-charts/common/embedding-usvc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ apiVersion: v2
name: embedding-usvc
description: The Helm chart for deploying embedding as microservice
type: application
version: 1.0.0
version: 0-latest
# The embedding microservice server version
appVersion: "v1.0"
dependencies:
- name: tei
version: 1.0.0
version: 0-latest
repository: file://../tei
condition: tei.enabled
1 change: 0 additions & 1 deletion helm-charts/common/embedding-usvc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ LOGFLAG: ""
TEI_EMBEDDING_ENDPOINT: ""
image:
repository: opea/embedding-tei
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 1 addition & 1 deletion helm-charts/common/gpt-sovits/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ apiVersion: v2
name: gpt-sovits
description: The Helm chart for deploying gpt-sovits as microservice
type: application
version: 1.0.0
version: 0-latest
# The gpt-sovits microservice server version
appVersion: "1.0"
1 change: 0 additions & 1 deletion helm-charts/common/gpt-sovits/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ replicaCount: 1

image:
repository: opea/gpt-sovits
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
Loading

0 comments on commit 2b9782c

Please sign in to comment.