Skip to content

Commit

Permalink
BUG: cannot pull older version of xinference
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengjieLi28 committed Aug 1, 2024
1 parent 14b195c commit 24d6d8d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/xinference/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ version: 0.0.1
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.14.0"
appVersion: "v0.14.0"
4 changes: 4 additions & 0 deletions charts/xinference/templates/deployment-supervisor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,11 @@ spec:
- name: {{ $key }}
value: {{ $value }}
{{- end }}
{{- if .Values.config.xinference_image }}
image: {{ .Values.config.xinference_image | quote }}
{{- else }}
image: "xprobe/xinference:{{ .Chart.AppVersion }}"
{{- end }}
{{- if .Values.config.image_pull_policy }}
imagePullPolicy: {{ .Values.config.image_pull_policy }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions charts/xinference/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.name
{{- if .Values.config.xinference_image }}
image: {{ .Values.config.xinference_image | quote }}
{{- else }}
image: "xprobe/xinference:{{ .Chart.AppVersion }}"
{{- end }}
{{- if .Values.config.image_pull_policy }}
imagePullPolicy: {{ .Values.config.image_pull_policy }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/xinference/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# common used configurations
config:
xinference_image: xprobe/xinference:latest
xinference_image: ""
curl_image: curlimages/curl:8.8.0
image_pull_policy: ""
worker_num: 1
Expand Down
2 changes: 1 addition & 1 deletion examples/values-distributed-case.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

# common used configurations
config:
xinference_image: xprobe/xinference:latest
xinference_image: ""
curl_image: curlimages/curl:8.8.0
image_pull_policy: ""
worker_num: 4
Expand Down
2 changes: 1 addition & 1 deletion examples/values-local-storage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

# common used configurations
config:
xinference_image: xprobe/xinference:latest
xinference_image: ""
curl_image: curlimages/curl:8.8.0
image_pull_policy: ""
worker_num: 2
Expand Down

0 comments on commit 24d6d8d

Please sign in to comment.