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 }}