diff --git a/.environments/dev-values.yaml b/.environments/dev-values.yaml new file mode 100644 index 0000000..f33f280 --- /dev/null +++ b/.environments/dev-values.yaml @@ -0,0 +1,2 @@ +imagePullSecrets: + - name: "runcible-regcred" diff --git a/charts/speech-collect/templates/api-deployment.yaml b/charts/speech-collect/templates/api-deployment.yaml index 7cf906e..7e24c89 100644 --- a/charts/speech-collect/templates/api-deployment.yaml +++ b/charts/speech-collect/templates/api-deployment.yaml @@ -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 }}