Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
🔧 Add Ollama container
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary-H9 committed Jul 31, 2024
1 parent f1523bd commit 397e0e7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,25 @@ spec:
periodSeconds: {{ .Values.reverseProxy.readinessProbe.periodSeconds }}
resources:
{{- toYaml .Values.reverseProxy.resources | nindent 12 }}
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.app.securityContext | nindent 12 }}
image: "{{ .Values.app.image.repository }}:{{ .Values.app.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.app.image.pullPolicy }}
{{- with .Values.app.environment }}
env:
{{- toYaml . | nindent 12 }}
{{- end }}
ports:
- name: app
containerPort: {{ .Values.app.port }}
protocol: TCP
livenessProbe:
{{- toYaml .Values.app.livenessProbe | nindent 12 }}
readinessProbe:
{{- toYaml .Values.app.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.app.resources | nindent 12 }}
volumes:
- name: nginxconfig
configMap:
Expand Down

0 comments on commit 397e0e7

Please sign in to comment.