Skip to content

Commit

Permalink
Add shareProcessNamespace option
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Rehelis <autogun@gmail.com>
  • Loading branch information
drehelis committed Dec 29, 2022
1 parent 8e9e529 commit 5087016
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- fluent-bit
- fluentd
version: 0.21.8
appVersion: 2.0.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

0 comments on commit 5087016

Please sign in to comment.