feat(helm): add option to enable prometheus metrics

This commit is contained in:
Julian Tölle 2020-12-06 02:44:36 +01:00
parent 822355eedb
commit a6097204c7
2 changed files with 8 additions and 0 deletions

View file

@ -61,6 +61,11 @@ spec:
value: {{ .Values.sentry.dsn }} value: {{ .Values.sentry.dsn }}
{{- end }} {{- end }}
{{- if .Values.prometheus.enabled }}
- name: PROMETHEUS_ENABLED
value: "true"
{{- end }}
securityContext: securityContext:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
ports: ports:

View file

@ -86,3 +86,6 @@ auth:
sentry: sentry:
enabled: false enabled: false
dsn: "" dsn: ""
prometheus:
enabled: false