1# Default values for fluent-bit.
3# kind -- DaemonSet or Deployment
5# replicaCount -- Only applicable if kind=Deployment
8 repository: cgr.dev/chainguard-private/fluent-bit-fips
9 # Overrides the image tag whose default is {{ .Chart.AppVersion }}
10 # Set to "-" to not use the default value
12 digest: sha256:1261f2b93640df22db544a2cfec69ee5b77190dc868d3a6959938198c369d9cd
13 pullPolicy: IfNotPresent
18 repository: cgr.dev/chainguard-private/busybox-fips
21 digest: sha256:7b6b883e283586870bdc24cc550a05a10dede9f225a43d068932747619b5f16f
29 automountServiceAccountToken:
34# Configure podsecuritypolicy
35# Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/
36# from Kubernetes 1.25, PSP is deprecated
37# See: https://kubernetes.io/blog/2022/08/23/kubernetes-v1-25-release/#pod-security-changes
38# We automatically disable PSP if Kubernetes version is 1.25 or higher
45 # This policy assumes the nodes are using AppArmor rather than SELinux.
47# OpenShift-specific configuration
50 securityContextConstraints:
51 # Create SCC for Fluent-bit and allow use it
59 # Use existing SCC in cluster, rather then create new one
65dnsPolicy: ClusterFirst
70# - ns1.svc.cluster-domain.example
71# - my.dns.search.suffix
87# readOnlyRootFilesystem: true
94 internalTrafficPolicy:
96 loadBalancerSourceRanges: []
100 # clusterIP: 172.16.10.1
102 # prometheus.io/path: "/api/v2/metrics/prometheus"
103 # prometheus.io/port: "2020"
104 # prometheus.io/scrape: "true"
110 # namespace: monitoring
114 # prometheus: my-prometheus
115 # ## metric relabel configs to apply to samples before ingestion.
118 # - sourceLabels: [__meta_kubernetes_service_label_cluster]
119 # targetLabel: cluster
123 # ## relabel configs to apply to samples after ingestion.
126 # - sourceLabels: [__meta_kubernetes_pod_node_name]
129 # targetLabel: nodename
135 ## Bear in mind if you want to collect metrics from a different port
136 ## you will need to configure the new ports on the extraPorts property.
137 additionalEndpoints: []
144 # # metric relabel configs to apply to samples before ingestion.
147 # - sourceLabels: [__meta_kubernetes_service_label_cluster]
148 # targetLabel: cluster
152 # # relabel configs to apply to samples after ingestion.
155 # - sourceLabels: [__meta_kubernetes_pod_node_name]
158 # targetLabel: nodename
164# additionalLabels: {}
166# - alert: NoOutputBytesProcessed
167# expr: rate(fluentbit_output_proc_bytes_total[5m]) == 0
170# Fluent Bit instance {{ $labels.instance }}'s output plugin {{ $labels.name }} has not processed any
171# bytes for at least 15 minutes.
172# summary: No Output Bytes Processed
179 labelKey: grafana_dashboard
183 deterministicUid: false
187# command: ["/bin/sh", "-c", "sleep 20"]
205## only available if kind is Deployment
210 # kubernetes.io/ingress.class: nginx
211 # kubernetes.io/tls-acme: "true"
213 # - host: fluent-bit.example.tld
215 # - host: fluent-bit-extra.example.tld
216 ## specify extraPort number
219 # - secretName: fluent-bit-example-tld
221 # - fluent-bit.example.tld
222## only available if kind is Deployment
227 # List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
228 controlledResources: []
229 # Values that the vertical pod autoscaler can control. Allowed values are RequestsAndLimits and RequestsOnly. Default is RequestsAndLimits.
231 # Define the max allowed resources for the pod
235 # Define the min allowed resources for the pod
240 # Name of the VPA recommender that will provide recommendations for vertical scaling.
243 # Specifies whether recommended updates are applied when a Pod is started and whether recommended updates
244 # are applied during the life of a Pod. Possible values are "Off", "Initial", "Recreate", and "Auto".
249 targetCPUUtilizationPercentage: 75
250 # targetMemoryUtilizationPercentage: 75
251 ## see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
256 # name: packets-per-second
260 ## see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior
271## only available if kind is Deployment
275 maxUnavailable: "30%"
283## How long (in seconds) a pods needs to be stable before progressing the deployment
286## How long (in seconds) a pod may take to exit (useful with lifecycle hooks to ensure lb deregistration is done)
288terminationGracePeriodSeconds:
294# The envWithTpl array below has the same usage as "env", but is using the tpl function to support templatable string.
295# This can be useful when you want to pass dynamic values to the Chart using the helm argument "--set <variable>=<value>"
296# https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function
299# value: "{{ .Values.foo2 }}"
304# This supports either a structured array or a templatable string
308# - name: do-something
310# command: ['do', 'something']
314# - name: do-something
315# image: bitnami/kubectl:{{ .Capabilities.KubeVersion.Major }}.{{ .Capabilities.KubeVersion.Minor }}
316# command: ['kubectl', 'version']
333# Make use of a pre-defined configmap instead of the one templated here
340# See Lua script configuration example in README.md
342## https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
347 Flush {{ .Values.flush }}
348 Log_Level {{ .Values.logLevel }}
349 Parsers_File /fluent-bit/etc/parsers.conf
350 Parsers_File /fluent-bit/etc/conf/custom_parsers.conf
353 HTTP_Port {{ .Values.metricsPort }}
355 ## https://docs.fluentbit.io/manual/pipeline/inputs
359 Path /var/log/containers/*.log
360 multiline.parser docker, cri
368 Systemd_Filter _SYSTEMD_UNIT=kubelet.service
370 ## https://docs.fluentbit.io/manual/pipeline/filters
377 K8S-Logging.Parser On
378 K8S-Logging.Exclude On
379 ## https://docs.fluentbit.io/manual/pipeline/outputs
384 Host elasticsearch-master
391 Host elasticsearch-master
395 ## https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/upstream-servers
396 ## This configuration is deprecated, please use `extraFiles` instead.
398 ## https://docs.fluentbit.io/manual/pipeline/parsers
405 Time_Format %Y-%m-%dT%H:%M:%S.%L
406 # This allows adding more files with arbitrary filenames to /fluent-bit/etc/conf by providing key/value pairs.
407 # The key becomes the filename, the value becomes the file content.
423# The config volume is mounted by default, either to the existingConfigMap value, or the default of "fluent-bit.fullname"
426 mountPath: /fluent-bit/etc/conf
431 - name: varlibdockercontainers
433 path: /var/lib/docker/containers
436 path: /etc/machine-id
438daemonSetVolumeMounts:
441 - name: varlibdockercontainers
442 mountPath: /var/lib/docker/containers
445 mountPath: /etc/machine-id
448 - /fluent-bit/bin/fluent-bit
450 - --workdir=/fluent-bit/etc
451 - --config=/fluent-bit/etc/conf/fluent-bit.conf
452# This supports either a structured array or a templatable string
456# - name: do-something
457# image: bitnami/kubectl:1.22
458# command: ['kubectl', 'version']
462# - name: do-something
463# image: bitnami/kubectl:{{ .Capabilities.KubeVersion.Major }}.{{ .Capabilities.KubeVersion.Minor }}
464# command: ['kubectl', 'version']
469 repository: cgr.dev/chainguard-private/configmap-reload-fips
471 digest: sha256:8620932af4d9182df497d8f7b042a8d2a7bf2141efe138854164e59a8645ea37
472 pullPolicy: IfNotPresent
474 extraWatchVolumes: []
477 allowPrivilegeEscalation: false
478 readOnlyRootFilesystem: true