fix(dispatch) change command to start with dispatch, which is the container bin

This commit is contained in:
Tommy 2023-12-16 14:37:02 +01:00
parent 938c715455
commit 72b7a58a4a
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
apiVersion: v2
name: dispatch
description: Netflix Dispatch incident management system
version: 0.1.3
version: 0.1.4

View file

@ -17,7 +17,7 @@ spec:
initContainers:
- name: web-db-init
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
command: ["web", "database", "init"]
command: ["dispatch", "web", "database", "init"]
containers:
- name: web
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"

View file

@ -19,7 +19,7 @@ core:
web:
container:
port: 8000
command: ["server", "start", "dispatch.main:app", "--host=0.0.0.0"]
command: ["dispatch", "server", "start", "dispatch.main:app", "--host=0.0.0.0"]
service:
type: ClusterIP
port: 80