Adding alertmanager url

This commit is contained in:
Jonathan Ervine 2022-03-26 23:08:31 +08:00
parent b606690bbc
commit f5db49bc05
2 changed files with 6 additions and 1 deletions

View File

@ -23,6 +23,9 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
env:
- name: ALERTMANAGER_URI
value: {{ .Values.alertmanager_uri }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Chart.AppVersion }}"
@ -52,4 +55,4 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

View File

@ -65,3 +65,5 @@ nodeSelector:
tolerations: []
affinity: {}
alertmanager_url: "http://alertmanager-main:9093"