Skip to content

Commit

Permalink
Add comments for pullPolicy and set as Optional value
Browse files Browse the repository at this point in the history
Signed-off-by: Dolpher Du <[email protected]>
  • Loading branch information
yongfengdu committed Nov 26, 2024
1 parent 639145c commit aaa4375
Show file tree
Hide file tree
Showing 116 changed files with 299 additions and 196 deletions.
2 changes: 2 additions & 0 deletions helm-charts/agentqna/templates/crag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.crag.image.repository }}:{{ .Values.crag.image.tag | default .Chart.AppVersion }}"
{{- if .Values.crag.image.pullPolicy }}
imagePullPolicy: {{ .Values.crag.image.pullPolicy }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/agentqna/templates/docretriever.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.docretriever.image.repository }}:{{ .Values.docretriever.image.tag | default .Chart.AppVersion }}"
{{- if .Values.docretriever.image.pullPolicy }}
imagePullPolicy: {{ .Values.docretriever.image.pullPolicy }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down
8 changes: 8 additions & 0 deletions helm-charts/agentqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ horizontalPodAutoscaler:
docretriever:
image:
repository: opea/doc-index-retriever
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand All @@ -41,6 +43,8 @@ worker:
port: 9095
image:
repository: opea/agent-langchain
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
strategy: rag_agent_llama
Expand All @@ -61,6 +65,8 @@ supervisor:
port: 9090
image:
repository: opea/agent-langchain
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
strategy: react_llama
Expand All @@ -79,6 +85,8 @@ supervisor:
crag:
image:
repository: aicrowd/kdd-cup-24-crag-mock-api
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "v0"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/audioqna/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/audioqna/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ spec:
spec:
containers:
- image: nginx:1.27.1
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
name: nginx
volumeMounts:
- mountPath: /etc/nginx/conf.d
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/audioqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ replicaCount: 1

image:
repository: opea/audioqna
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/chatqna/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/chatqna/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ spec:
spec:
containers:
- image: nginx:1.27.1
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
name: nginx
volumeMounts:
- mountPath: /etc/nginx/conf.d
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/chatqna/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ replicaCount: 1

image:
repository: opea/chatqna
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/codegen/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/codegen/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ spec:
spec:
containers:
- image: nginx:1.27.1
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
name: nginx
volumeMounts:
- mountPath: /etc/nginx/conf.d
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/codegen/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ replicaCount: 1

image:
repository: opea/codegen
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/codetrans/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/codetrans/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ spec:
spec:
containers:
- image: nginx:1.27.1
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
name: nginx
volumeMounts:
- mountPath: /etc/nginx/conf.d
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/codetrans/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ LLM_SERVICE_HOST_IP: ""

image:
repository: opea/codetrans
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: agent
containerPort: 9090
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ LOGFLAG: "True"

image:
repository: opea/agent-langchain
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/asr/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: asr
containerPort: 9099
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/asr/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ ASR_ENDPOINT: ""

image:
repository: opea/asr
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/chathistory-usvc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: port
containerPort: 6012
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/chathistory-usvc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ replicaCount: 1

image:
repository: opea/chathistory-mongo-server
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/data-prep/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: data-prep
containerPort: {{ .Values.port }}
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/data-prep/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ replicaCount: 1

image:
repository: opea/dataprep-redis
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/embedding-usvc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: embedding-usvc
containerPort: 6000
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/embedding-usvc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ LOGFLAG: ""
TEI_EMBEDDING_ENDPOINT: ""
image:
repository: opea/embedding-tei
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/gpt-sovits/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
{{- end }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: gpt-sovits
containerPort: 9880
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/gpt-sovits/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ replicaCount: 1

image:
repository: opea/gpt-sovits
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/guardrails-usvc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: guardrails-usvc
containerPort: 9090
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/guardrails-usvc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ LOGFLAG: ""

image:
repository: opea/guardrails-tgi
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/llm-uservice/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: llm-uservice
containerPort: 9000
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/llm-uservice/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ LOGFLAG: ""

image:
repository: opea/llm-tgi
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/lvm-uservice/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: lvm-uservice
containerPort: 9399
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/lvm-uservice/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ LOGFLAG: ""

image:
repository: opea/lvm-tgi
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/mongodb/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
volumeMounts:
- mountPath: /data
name: data-volume
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/mongodb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
replicaCount: 1
image:
repository: mongo
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "7.0.11"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/prompt-usvc/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
ports:
- name: port
containerPort: {{ .Values.port }}
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/prompt-usvc/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ replicaCount: 1

image:
repository: opea/promptregistry-mongo-server
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"

Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/redis-vector-db/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ spec:
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
{{- if .Values.image.pullPolicy }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- end }}
volumeMounts:
- mountPath: /data
name: data-volume
Expand Down
2 changes: 2 additions & 0 deletions helm-charts/common/redis-vector-db/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
replicaCount: 1
image:
repository: redis/redis-stack
# Uncomment the following line to set desired image pull policy if needed, as one of Always, IfNotPresent, Never.
# pullPolicy: ""
# Overrides the image tag whose default is the chart appVersion.
tag: "7.2.0-v9"

Expand Down
Loading

0 comments on commit aaa4375

Please sign in to comment.