From c7abdbe0767c24554a3f8cb410ca087181e4d227 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 16 Dec 2023 18:28:44 +0100 Subject: [PATCH] chore(dispatch) add secret env to web init container --- charts/dispatch/Chart.yaml | 2 +- charts/dispatch/templates/web-deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/dispatch/Chart.yaml b/charts/dispatch/Chart.yaml index 96a5ee7..b4bdaca 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.6 \ No newline at end of file +version: 0.2.7 \ No newline at end of file diff --git a/charts/dispatch/templates/web-deployment.yaml b/charts/dispatch/templates/web-deployment.yaml index 913a7aa..889644c 100644 --- a/charts/dispatch/templates/web-deployment.yaml +++ b/charts/dispatch/templates/web-deployment.yaml @@ -28,6 +28,9 @@ spec: value: "{{ .Values.postgres.port }}" - name: DATABASE_NAME value: "{{ .Values.postgres.database_name }}" + envFrom: + - secretRef: + name: {{ .Values.envFromSecret }} containers: - name: web