fix types

This commit is contained in:
duhow 2024-02-23 11:09:25 +01:00
parent f5ac3a1ebf
commit 7d947c2988
No known key found for this signature in database
3 changed files with 6 additions and 6 deletions

View File

@ -16,6 +16,6 @@ spec:
ports:
- protocol: TCP
name: http
port: http
targetPort: {{ .port }}
port: {{ .port }}
targetPort: http
{{- end }}

View File

@ -70,7 +70,7 @@ spec:
- name: data
emptyDir: {}
{{- else if and .Values.ollama.persistence.enabled (not .Values.ollama.persistence.existingClaim) }}
{}
[]
volumeClaimTemplates:
- metadata:
name: data

View File

@ -11,9 +11,9 @@ spec:
type: {{ .type }}
ports:
- protocol: TCP
port: http
targetPort: {{ .port }}
port: {{ .port }}
targetPort: http
{{- if .nodePort }}
nodePort: {{ .nodePort }}
nodePort: {{ .nodePort | int }}
{{- end }}
{{- end }}