Skip to content

Commit

Permalink
chore: add crd settings for fluentbitNamespaceLabels
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Sep 2, 2024
1 parent 8bfff3a commit f62e565
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/lagoon-logging/templates/logging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ spec:
# At the time of writing this just hits the metrics endpoint.
# https://github.com/banzaicloud/logging-operator/blob/master/pkg/sdk/logging/api/v1beta1/logging_types.go#L452-L467
livenessDefaultCheck: true
filterKubernetes:
namespace_labels: {{ default "Off" .Values.fluentbitNamespaceLabels | quote }}
{{- if .Values.fluentbitPrivileged }}
security:
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/lagoon-logging/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ consolidateServiceIndices: false
# sent to a third-party service and not to a central elasticsearch.
enableDefaultForwarding: true

# Set this to "On" for the default behavior including kubernetes_namespace_name
# labels. In router-logs this could be confusing, but may be useful for debug.
fluentbitNamespaceLabels: "Off"

# Set how many Fluentd log forwarder pods should be running
fluentdReplicaCount: 3

Expand Down

0 comments on commit f62e565

Please sign in to comment.