From 72b7a58a4a198c8375f4973557c37d5917a1840e Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 16 Dec 2023 14:37:02 +0100 Subject: [PATCH] fix(dispatch) change command to start with dispatch, which is the container bin --- charts/dispatch/Chart.yaml | 2 +- charts/dispatch/templates/web-deployment.yaml | 2 +- charts/dispatch/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/dispatch/Chart.yaml b/charts/dispatch/Chart.yaml index 71834c3..c2c8da9 100644 --- a/charts/dispatch/Chart.yaml +++ b/charts/dispatch/Chart.yaml @@ -1,4 +1,4 @@ apiVersion: v2 name: dispatch description: Netflix Dispatch incident management system -version: 0.1.3 \ No newline at end of file +version: 0.1.4 \ No newline at end of file diff --git a/charts/dispatch/templates/web-deployment.yaml b/charts/dispatch/templates/web-deployment.yaml index a9e4503..f12cc27 100644 --- a/charts/dispatch/templates/web-deployment.yaml +++ b/charts/dispatch/templates/web-deployment.yaml @@ -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 }}" diff --git a/charts/dispatch/values.yaml b/charts/dispatch/values.yaml index 72cd6b3..2d4e49d 100644 --- a/charts/dispatch/values.yaml +++ b/charts/dispatch/values.yaml @@ -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