diff --git a/production/helm/loki-stack/Chart.yaml b/production/helm/loki-stack/Chart.yaml index 47a22857a4e2f..20f43f1aacdb8 100644 --- a/production/helm/loki-stack/Chart.yaml +++ b/production/helm/loki-stack/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: loki-stack -version: 0.30.0 +version: 0.31.0 appVersion: v1.3.0 kubeVersion: "^1.10.0-0" description: "Loki: like Prometheus, but for logs." diff --git a/production/helm/promtail/Chart.yaml b/production/helm/promtail/Chart.yaml index bb6316cbf82fb..0f4a060bf74e8 100644 --- a/production/helm/promtail/Chart.yaml +++ b/production/helm/promtail/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: "v1" name: promtail -version: 0.18.0 +version: 0.18.1 appVersion: v1.3.0 kubeVersion: "^1.10.0-0" description: "Responsible for gathering logs and sending them to Loki" diff --git a/production/helm/promtail/templates/daemonset.yaml b/production/helm/promtail/templates/daemonset.yaml index 6a4266a5f330a..afab81bd5bee0 100644 --- a/production/helm/promtail/templates/daemonset.yaml +++ b/production/helm/promtail/templates/daemonset.yaml @@ -76,10 +76,13 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} env: - - name: HOSTNAME - valueFrom: - fieldRef: - fieldPath: spec.nodeName + {{- with .Values.env }} + {{- toYaml . | nindent 12 }} + {{- end }} + - name: HOSTNAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName ports: - containerPort: {{ .Values.config.server.http_listen_port }} name: http-metrics diff --git a/production/helm/promtail/values.yaml b/production/helm/promtail/values.yaml index 9f6f942beb3ce..5ea0b7aa9d729 100644 --- a/production/helm/promtail/values.yaml +++ b/production/helm/promtail/values.yaml @@ -138,3 +138,6 @@ serviceMonitor: interval: "" additionalLabels: {} # scrapeTimeout: 10s + +# Extra env variables to pass to the promtail container +env: []