Preparing for helm deployments

master
Drew Bednar 1 year ago
parent abcdd82108
commit 9d976e04f7

@ -0,0 +1,2 @@
imagePullSecrets:
- name: "runcible-regcred"

@ -32,18 +32,28 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- "litestar"
args:
- "--app"
- "speech_collect.app:app"
- "run"
- "--port"
- "8000"
- "--host"
- "0.0.0.0"
ports:
- name: http
containerPort: {{ .Values.components.api.port }}
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
# livenessProbe:
# httpGet:
# path: /
# port: http
# readinessProbe:
# httpGet:
# path: /
# port: http
resources:
{{- toYaml .Values.components.api.resources | nindent 12 }}
{{- with .Values.nodeSelector }}

Loading…
Cancel
Save