From 38d43e34cc32bdec5f7fce1df6b857a27cc9d565 Mon Sep 17 00:00:00 2001 From: Jurgen Kleverwal Date: Wed, 30 Jan 2019 20:07:12 +0100 Subject: [PATCH] Added optional pod labels (#10990) Signed-off-by: Jurgen Kleverwal --- stable/fluent-bit/Chart.yaml | 2 +- stable/fluent-bit/README.md | 1 + stable/fluent-bit/templates/daemonset.yaml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stable/fluent-bit/Chart.yaml b/stable/fluent-bit/Chart.yaml index ed2483ed98..15bef4cf94 100755 --- a/stable/fluent-bit/Chart.yaml +++ b/stable/fluent-bit/Chart.yaml @@ -1,5 +1,5 @@ name: fluent-bit -version: 1.5.0 +version: 1.5.1 appVersion: 1.0.3 description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX keywords: diff --git a/stable/fluent-bit/README.md b/stable/fluent-bit/README.md index ab30c379dd..33abdccf5e 100644 --- a/stable/fluent-bit/README.md +++ b/stable/fluent-bit/README.md @@ -78,6 +78,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an | **General** | | `annotations` | Optional deamonset set annotations | `NULL` | | `podAnnotations` | Optional pod annotations | `NULL` | +| `podLabels` | Optional pod labels | `NULL` | | `fullConfigMap` | User has provided entire config (parsers + system) | `false` | | `existingConfigMap` | ConfigMap override | `` | | `extraEntries.input` | Extra entries for existing [INPUT] section | `` | diff --git a/stable/fluent-bit/templates/daemonset.yaml b/stable/fluent-bit/templates/daemonset.yaml index ae32553b06..d1bf032e8b 100644 --- a/stable/fluent-bit/templates/daemonset.yaml +++ b/stable/fluent-bit/templates/daemonset.yaml @@ -15,6 +15,9 @@ spec: labels: app: {{ template "fluent-bit.name" . }} release: {{ .Release.Name }} +{{- if .Values.podLabels }} +{{ toYaml .Values.podLabels | indent 8 }} +{{- end }} annotations: checksum/config: {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }} {{- if .Values.podAnnotations }}