rename ports, labels and service settings

This commit is contained in:
duhow 2024-02-19 22:33:22 +01:00
parent 0b7f183a03
commit 05e31494c2
No known key found for this signature in database
7 changed files with 25 additions and 18 deletions

View file

@ -13,13 +13,14 @@ spec:
template:
metadata:
labels:
{{- include "ollama.selectorLabels" . | nindent 8 }}
{{- include "ollama.labels" . | nindent 8 }}
spec:
containers:
- name: {{ include "ollama.name" . }}
image: {{ .Values.ollama.image }}
ports:
- containerPort: {{ .Values.ollama.servicePort }}
- name: http
containerPort: {{ .Values.ollama.service.containerPort }}
env:
{{- if .Values.ollama.gpu.enabled }}
- name: PATH