helm: add annotations to service monitor (#2258)

k24
Mathieu Gaubert 5 years ago committed by GitHub
parent 0eabd8c867
commit afd3daf960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      production/helm/fluent-bit/Chart.yaml
  2. 4
      production/helm/fluent-bit/templates/servicemonitor.yaml
  3. 1
      production/helm/fluent-bit/values.yaml
  4. 2
      production/helm/loki/Chart.yaml
  5. 4
      production/helm/loki/templates/servicemonitor.yaml
  6. 1
      production/helm/loki/values.yaml
  7. 2
      production/helm/promtail/Chart.yaml
  8. 4
      production/helm/promtail/templates/servicemonitor.yaml
  9. 1
      production/helm/promtail/values.yaml

@ -1,6 +1,6 @@
apiVersion: "v1"
name: fluent-bit
version: 0.1.3
version: 0.1.4
appVersion: v1.5.0
kubeVersion: "^1.10.0-0"
description: "Uses fluent-bit Loki go plugin for gathering logs and sending them to Loki"

@ -11,6 +11,10 @@ metadata:
{{- if .Values.serviceMonitor.additionalLabels }}
{{ toYaml .Values.serviceMonitor.additionalLabels | indent 4 }}
{{- end }}
{{- if .Values.serviceMonitor.annotations }}
annotations:
{{ toYaml .Values.serviceMonitor.annotations | indent 4 }}
{{- end }}
spec:
selector:
matchLabels:

@ -109,4 +109,5 @@ serviceMonitor:
enabled: false
interval: ""
additionalLabels: {}
annotations: {}
# scrapeTimeout: 10s

@ -1,6 +1,6 @@
apiVersion: "v1"
name: loki
version: 0.30.0
version: 0.30.1
appVersion: v1.5.0
kubeVersion: "^1.10.0-0"
description: "Loki: like Prometheus, but for logs."

@ -11,6 +11,10 @@ metadata:
{{- if .Values.serviceMonitor.additionalLabels }}
{{ toYaml .Values.serviceMonitor.additionalLabels | indent 4 }}
{{- end }}
{{- if .Values.serviceMonitor.annotations }}
annotations:
{{ toYaml .Values.serviceMonitor.annotations | indent 4 }}
{{- end }}
spec:
selector:
matchLabels:

@ -195,6 +195,7 @@ serviceMonitor:
enabled: false
interval: ""
additionalLabels: {}
annotations: {}
# scrapeTimeout: 10s
initContainers: []

@ -1,6 +1,6 @@
apiVersion: "v1"
name: promtail
version: 0.23.1
version: 0.23.2
appVersion: v1.5.0
kubeVersion: "^1.10.0-0"
description: "Responsible for gathering logs and sending them to Loki"

@ -11,6 +11,10 @@ metadata:
{{- if .Values.serviceMonitor.additionalLabels }}
{{ toYaml .Values.serviceMonitor.additionalLabels | indent 4 }}
{{- end }}
{{- if .Values.serviceMonitor.annotations }}
annotations:
{{ toYaml .Values.serviceMonitor.annotations | indent 4 }}
{{- end }}
spec:
selector:
matchLabels:

@ -163,6 +163,7 @@ serviceMonitor:
enabled: false
interval: ""
additionalLabels: {}
annotations: {}
# scrapeTimeout: 10s
# Extra env variables to pass to the promtail container

Loading…
Cancel
Save