allow additional pod labels (#509)

pull/512/head
Sverre Boschman 6 years ago committed by Cyril Tovena
parent d33722dc71
commit 7d8b0c83cc
  1. 3
      production/helm/loki/templates/deployment.yaml
  2. 3
      production/helm/loki/values.yaml
  3. 3
      production/helm/promtail/templates/daemonset.yaml
  4. 3
      production/helm/promtail/values.yaml

@ -27,6 +27,9 @@ spec:
app: {{ template "loki.name" . }}
name: {{ template "loki.name" . }}
release: {{ .Release.Name }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- with .Values.podAnnotations }}

@ -91,6 +91,9 @@ persistence:
# subPath: ""
# existingClaim:
## Pod Labels
podLabels: {}
## Pod Annotations
podAnnotations: {}
# prometheus.io/scrape: "true"

@ -24,6 +24,9 @@ spec:
labels:
app: {{ template "promtail.name" . }}
release: {{ .Release.Name }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
annotations:
{{ toYaml .Values.podAnnotations | nindent 8 }}
spec:

@ -25,6 +25,9 @@ nameOverride: promtail
## ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}
## Pod Labels
podLabels: {}
podAnnotations: {}
# prometheus.io/scrape: "true"
# prometheus.io/port: "http-metrics"

Loading…
Cancel
Save