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 }} {{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- "litestar"
args:
- "--app"
- "speech_collect.app:app"
- "run"
- "--port"
- "8000"
- "--host"
- "0.0.0.0"
ports: ports:
- name: http - name: http
containerPort: {{ .Values.components.api.port }} containerPort: {{ .Values.components.api.port }}
protocol: TCP protocol: TCP
livenessProbe: # livenessProbe:
httpGet: # httpGet:
path: / # path: /
port: http # port: http
readinessProbe: # readinessProbe:
httpGet: # httpGet:
path: / # path: /
port: http # port: http
resources: resources:
{{- toYaml .Values.components.api.resources | nindent 12 }} {{- toYaml .Values.components.api.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}

Loading…
Cancel
Save