Skip to content

Commit

Permalink
[jiralert] add envFrom config (#4014)
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-rei authored Nov 21, 2023
1 parent 20cb0ca commit b837e3b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/jiralert/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions charts/jiralert/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions charts/jiralert/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ extraVolumeMounts: []
# -- Additional Volumes
extraVolumes: []

# -- Additional envFrom for jiralert pods
envFrom: {}

# Number of pod replicas
replicaCount: 1

Expand Down

0 comments on commit b837e3b

Please sign in to comment.