Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fluent-bit] Add shareProcessNamespace option #303

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions charts/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ keywords:
- logging
- fluent-bit
- fluentd
version: 0.21.7
appVersion: 2.0.8
version: 0.21.8
appVersion: 2.0.9
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg
home: https://fluentbit.io/
sources:
Expand All @@ -22,5 +22,5 @@ maintainers:
email: steve.hipwell@gmail.com
annotations:
artifacthub.io/changes: |
- kind: changed
description: "Update fluent-bit image to 2.0.8"
- kind: add
description: "Add shareProcessNamespace option"
3 changes: 3 additions & 0 deletions charts/fluent-bit/templates/_pod.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{{- define "fluent-bit.pod" -}}
serviceAccountName: {{ include "fluent-bit.serviceAccountName" . }}
{{- with .Values.imagePullSecrets }}
{{ if .Values.shareProcessNamespace }}
shareProcessNamespace: true
{{ end }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
Expand Down
4 changes: 4 additions & 0 deletions charts/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,10 @@ envWithTpl: []

envFrom: []

# shareProcessNamespace enables process namespace sharing between fluent-bit and the extraContainers
# This is useful if fluent-bit must be signaled, e.g. to send a SIGHUP for a configuration reload
shareProcessNamespace: false

extraContainers: []
# - name: do-something
# image: busybox
Expand Down