Skip to content

Commit 8db769c

Browse files
authored
Merge pull request #9 from smarter-project/fix-volume
Allow change of volume path on helm charts
2 parents 8510090 + 5f8c493 commit 8db769c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Diff for: charts/home-orchestrator/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 2.0.9
18+
version: 2.0.10
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

Diff for: charts/home-orchestrator/templates/common.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ spec:
8888
volumes:
8989
- name: models
9090
hostPath:
91-
path: /srv/shared-container-volumes/ollama:/root/.ollama
91+
path: {{ .Values.configuration.hostVolumePath }}:/root/.ollama
9292
terminationGracePeriodSeconds: 30
9393
---
94+
# path: /srv/shared-container-volumes/ollama:/root/.ollama
9495
# apiVersion: v1
9596
# kind: Service
9697
# metadata:

Diff for: charts/home-orchestrator/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ configuration:
1414
portHost: 31435
1515
model: llama3.2:1b-instruct-q4_K_M
1616
ollamaVersion: "latest"
17+
hostVolumePath: /srv/shared-container-volumes/ollama

0 commit comments

Comments
 (0)