Helm chart: Allow additional scrape_configs to be added (#1134)

* Allow additional scrape_configs to be added

* Bump version of loki-stack chart
pull/1148/head
Minh Danh 6 years ago committed by Cyril Tovena
parent b94a4361f2
commit eb9d732517
  1. 2
      production/helm/promtail/Chart.yaml
  2. 3
      production/helm/promtail/templates/configmap.yaml
  3. 3
      production/helm/promtail/values.yaml

@ -1,5 +1,5 @@
name: promtail
version: 0.12.2
version: 0.12.3
appVersion: v0.3.0
kubeVersion: "^1.10.0-0"
description: "Responsible for gathering logs and sending them to Loki"

@ -262,3 +262,6 @@ data:
- __meta_kubernetes_pod_container_name
target_label: __path__
{{- end }}
{{- if .Values.extraScrapeConfigs }}
{{- toYaml .Values.extraScrapeConfigs | nindent 4 }}
{{- end }}

@ -64,6 +64,9 @@ resources: {}
# Custom scrape_configs to override the default ones in the configmap
scrapeConfigs: []
# Custom scrape_configs together with the default ones in the configmap
extraScrapeConfigs: []
securityContext:
readOnlyRootFilesystem: true
runAsGroup: 0

Loading…
Cancel
Save