Skip to content

Commit

Permalink
Merge pull request #111 from windsource/main
Browse files Browse the repository at this point in the history
Add missing implementation for subPath
  • Loading branch information
jdetroyes authored Nov 3, 2024
2 parents 30975f1 + dcd350e commit 4fecf53
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ description: Get up and running with large language models locally.

type: application

version: 0.63.0
version: 0.63.1

appVersion: "0.3.14"

annotations:
artifacthub.io/category: ai-machine-learning
artifacthub.io/changes: |
- kind: changed
description: upgrade app version to 0.3.14
- kind: fixed
description: Minor bug
links:
- name: GitHub Issue "subPath specified but not used"
url: https://github.com/otwld/ollama-helm/issues/110
kubeVersion: "^1.16.0-0"
home: https://ollama.ai/
Expand Down
3 changes: 3 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ spec:
volumeMounts:
- name: ollama-data
mountPath: {{ .Values.ollama.mountPath | default "/root/.ollama" }}
{{- if .Values.persistentVolume.subPath }}
subPath: {{ .Values.persistentVolume.subPath }}
{{- end }}
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
3 changes: 3 additions & 0 deletions templates/knative/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ spec:
volumeMounts:
- name: ollama-data
mountPath: {{ .Values.ollama.mountPath | default "/root/.ollama" }}
{{- if .Values.persistentVolume.subPath }}
subPath: {{ .Values.persistentVolume.subPath }}
{{- end }}
{{- with .Values.volumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit 4fecf53

Please sign in to comment.