From b837e3b1abbe61264f53e83241f438baaa1e3718 Mon Sep 17 00:00:00 2001 From: Jonas Reineke Date: Tue, 21 Nov 2023 06:58:03 +0000 Subject: [PATCH] [jiralert] add envFrom config (#4014) --- charts/jiralert/Chart.yaml | 2 +- charts/jiralert/templates/deployment.yaml | 4 ++++ charts/jiralert/values.yaml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/jiralert/Chart.yaml b/charts/jiralert/Chart.yaml index 24a32050e477..111a0978bd37 100755 --- a/charts/jiralert/Chart.yaml +++ b/charts/jiralert/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: jiralert description: A Helm chart for Kubernetes to install jiralert type: application -version: 1.6.1 +version: 1.7.0 appVersion: "v1.3.0" home: "https://github.com/prometheus-community/jiralert" keywords: diff --git a/charts/jiralert/templates/deployment.yaml b/charts/jiralert/templates/deployment.yaml index 4e9081ca4501..f99c48cf9df4 100755 --- a/charts/jiralert/templates/deployment.yaml +++ b/charts/jiralert/templates/deployment.yaml @@ -72,6 +72,10 @@ spec: value: {{ $value | quote }} {{- end }} {{- end }} + {{- with .Values.envFrom }} + envFrom: + {{- toYaml . | nindent 12 }} + {{- end }} serviceAccountName: {{ include "jiralert.serviceAccountName" . }} {{- with .Values.podSecurityContext }} securityContext: diff --git a/charts/jiralert/values.yaml b/charts/jiralert/values.yaml index 4c27405e6cfa..31aba329ddd9 100755 --- a/charts/jiralert/values.yaml +++ b/charts/jiralert/values.yaml @@ -29,6 +29,9 @@ extraVolumeMounts: [] # -- Additional Volumes extraVolumes: [] +# -- Additional envFrom for jiralert pods +envFrom: {} + # Number of pod replicas replicaCount: 1