Skip to content

Commit

Permalink
feat: send fluentd output to a file
Browse files Browse the repository at this point in the history
Signed-off-by: Zadkiel Aharonian <[email protected]>
  • Loading branch information
aslafy-z authored Aug 4, 2023
1 parent 5a8e76e commit 1fca8cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/sdk/logging/api/v1beta1/logging_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,10 @@ func (l *Logging) SetDefaults() error {
}
if l.Spec.FluentdSpec.FluentOutLogrotate == nil {
l.Spec.FluentdSpec.FluentOutLogrotate = &FluentOutLogrotate{
Enabled: true,
Enabled: false,
}
if _, ok := l.Spec.FluentdSpec.Annotations["fluentbit.io/exclude"]; !ok {
l.Spec.FluentdSpec.Annotations["fluentbit.io/exclude"] = "true"
}
}
if l.Spec.FluentdSpec.FluentOutLogrotate.Path == "" {
Expand Down

0 comments on commit 1fca8cf

Please sign in to comment.