Unverified Commit ee6256e9 authored by Enno Lohmeier's avatar Enno Lohmeier Committed by GitHub

influxdb/telegraf: add configurable pod labels (#169)

* telegraf: add podLabels * influxdb: add podLabels
parent f2faddaf
apiVersion: v1
name: influxdb
version: 4.8.2
version: 4.8.3
appVersion: 1.8.0
description: Scalable datastore for metrics, events, and real-time analytics.
keywords:
......
......@@ -69,6 +69,7 @@ The following table lists configurable parameters, their descriptions, and their
| persistence.accessMode | Access mode for the volume | ReadWriteOnce |
| persistence.size | Storage size | 8Gi |
| podAnnotations | Annotations for pod | {} |
| podLabels | Labels for pod | {} |
| ingress.enabled | Boolean flag to enable or disable ingress | false |
| ingress.tls | Boolean to enable or disable tls for ingress. If enabled provide a secret in `ingress.secretName` containing TLS private key and certificate. | false |
| ingress.secretName | Kubernetes secret containing TLS private key and certificate. It is `only` required if `ingress.tls` is enabled. | nil |
......@@ -322,4 +323,4 @@ Labels are changed in accordance with [Kubernetes recommended labels](https://ku
Due to the significance of the changes, we recommend uninstalling and reinstalling the chart (although the PVC shouldn't be deleted during this process, we highly recommended backing up your data beforehand).
Check out our [Slack channel](https://www.influxdata.com/slack) for support and information.
\ No newline at end of file
Check out our [Slack channel](https://www.influxdata.com/slack) for support and information.
......@@ -158,6 +158,9 @@ resources: {}
# Annotations to be added to InfluxDB pods
podAnnotations: {}
# Labels to be added to InfluxDB pods
podLabels: {}
ingress:
enabled: false
tls: false
......
apiVersion: v1
name: telegraf
version: 1.7.21
version: 1.7.22
appVersion: 1.14
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -15,6 +15,9 @@ spec:
labels:
app.kubernetes.io/name: {{ include "telegraf.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- with .Values.podLabels }}
{{ toYaml . | indent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
......
......@@ -11,6 +11,8 @@ image:
podAnnotations: {}
podLabels: {}
imagePullSecrets: []
## Configure args passed to Telegraf containers
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment