From 4d5e982db06bc7e731a441b0c62ac90ddec00c67 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 16 Dec 2023 17:56:15 +0100 Subject: [PATCH] chore(dispatch) restructuring values --- charts/dispatch/Chart.yaml | 2 +- charts/dispatch/templates/core-deployment.yaml | 8 ++++---- charts/dispatch/templates/scheduler-deployment.yaml | 8 ++++---- charts/dispatch/templates/web-deployment.yaml | 8 ++++---- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/charts/dispatch/Chart.yaml b/charts/dispatch/Chart.yaml index 0003fb1..3b19b7f 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.2.4 \ No newline at end of file +version: 0.2.5 \ No newline at end of file diff --git a/charts/dispatch/templates/core-deployment.yaml b/charts/dispatch/templates/core-deployment.yaml index e9fec48..fa27ab2 100644 --- a/charts/dispatch/templates/core-deployment.yaml +++ b/charts/dispatch/templates/core-deployment.yaml @@ -27,13 +27,13 @@ spec: imagePullPolicy: {{ .Values.image.pullPolicy }} env: - name: DISPATCH_UI_URL - value: {{ .Values.url }} + value: "{{ .Values.url }}" - name: DATABASE_HOSTNAME - value: {{ .Values.postgres.hostname }} + value: "{{ .Values.postgres.hostname }}" - name: DATABASE_PORT - value: {{ .Values.postgres.port }} + value: "{{ .Values.postgres.port }}" - name: DATABASE_NAME - value: {{ .Values.postgres.database_name }} + value: "{{ .Values.postgres.database_name }}" envFrom: - secretRef: name: {{ .Values.envFromSecret }} diff --git a/charts/dispatch/templates/scheduler-deployment.yaml b/charts/dispatch/templates/scheduler-deployment.yaml index eacb93e..a1c399f 100644 --- a/charts/dispatch/templates/scheduler-deployment.yaml +++ b/charts/dispatch/templates/scheduler-deployment.yaml @@ -22,13 +22,13 @@ spec: command: ["dispatch", "scheduler", "start"] env: - name: DISPATCH_UI_URL - value: {{ .Values.url }} + value: "{{ .Values.url }}" - name: DATABASE_HOSTNAME - value: {{ .Values.postgres.hostname }} + value: "{{ .Values.postgres.hostname }}" - name: DATABASE_PORT - value: {{ .Values.postgres.port }} + value: "{{ .Values.postgres.port }}" - name: DATABASE_NAME - value: {{ .Values.postgres.database_name }} + value: "{{ .Values.postgres.database_name }}" envFrom: - secretRef: name: {{ .Values.envFromSecret }} diff --git a/charts/dispatch/templates/web-deployment.yaml b/charts/dispatch/templates/web-deployment.yaml index 887af27..1829b6d 100644 --- a/charts/dispatch/templates/web-deployment.yaml +++ b/charts/dispatch/templates/web-deployment.yaml @@ -29,13 +29,13 @@ spec: - containerPort: 8000 env: - name: DISPATCH_UI_URL - value: {{ .Values.url }} + value: "{{ .Values.url }}" - name: DATABASE_HOSTNAME - value: {{ .Values.postgres.hostname }} + value: "{{ .Values.postgres.hostname }}" - name: DATABASE_PORT - value: {{ .Values.postgres.port }} + value: "{{ .Values.postgres.port }}" - name: DATABASE_NAME - value: {{ .Values.postgres.database_name }} + value: "{{ .Values.postgres.database_name }}" envFrom: - secretRef: name: {{ .Values.envFromSecret }}