Skip to content

Commit

Permalink
deps: upgrade fluentbit to latest
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Wilcsinszky <peter.wilcsinszky@axoflow.com>
  • Loading branch information
pepov committed Jun 2, 2023
1 parent f63858a commit 0279e63
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion e2e/charts/logging-operator-logging/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ annotations:
description: Moved to to location
artifacthub.io/images: |
- name: fluent-bit
image: fluent/fluent-bit:1.9.5
image: fluent/fluent-bit:2.1.4
- name: fluentd
image: ghcr.io/kube-logging/fluentd:v1.15-ruby3
- name: syslog-ng
Expand Down
9 changes: 5 additions & 4 deletions pkg/resources/nodeagent/nodeagent.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ import (
"github.com/cisco-open/operator-tools/pkg/typeoverride"
util "github.com/cisco-open/operator-tools/pkg/utils"
"github.com/go-logr/logr"
"github.com/kube-logging/logging-operator/pkg/resources"
"github.com/kube-logging/logging-operator/pkg/resources/loggingdataprovider"
"github.com/kube-logging/logging-operator/pkg/sdk/logging/api/v1beta1"
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
v1 "k8s.io/api/core/v1"
Expand All @@ -35,6 +32,10 @@ import (
"sigs.k8s.io/controller-runtime/pkg/builder"
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

"github.com/kube-logging/logging-operator/pkg/resources"
"github.com/kube-logging/logging-operator/pkg/resources/loggingdataprovider"
"github.com/kube-logging/logging-operator/pkg/sdk/logging/api/v1beta1"
)

const (
Expand All @@ -61,7 +62,7 @@ func NodeAgentFluentbitDefaults(userDefined v1beta1.NodeAgentConfig) (*v1beta1.N
Containers: []v1.Container{
{
Name: containerName,
Image: "fluent/fluent-bit:1.9.10",
Image: v1beta1.DefaultFluentbitImageRepository + ":" + v1beta1.DefaultFluentbitImageTag,
Command: []string{"/fluent-bit/bin/fluent-bit", "-c", "/fluent-bit/conf_operator/fluent-bit.conf"},
ImagePullPolicy: v1.PullIfNotPresent,
Resources: v1.ResourceRequirements{
Expand Down
4 changes: 2 additions & 2 deletions pkg/sdk/extensions/extensionsconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var Global = GlobalConfig{

// HostTailer configuration
var HostTailer = HostTailerConfig{
FluentBitImage: "fluent/fluent-bit:1.9.10",
FluentBitImage: "fluent/fluent-bit:2.1.4",
TailerAffix: "host-tailer",
}

Expand All @@ -85,7 +85,7 @@ var EventTailer = EventTailerConfig{

// TailerWebhook configuration
var TailerWebhook = TailerWebhookConfig{
FluentBitImage: "fluent/fluent-bit:1.9.10",
FluentBitImage: "fluent/fluent-bit:2.1.4",
AnnotationKey: "sidecar.logging-extensions.banzaicloud.io/tail",
ServerPath: "/tailer-webhook",
ServerPort: 9443,
Expand Down
2 changes: 1 addition & 1 deletion pkg/sdk/logging/api/v1beta1/logging_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ type DefaultFlowSpec struct {

const (
DefaultFluentbitImageRepository = "fluent/fluent-bit"
DefaultFluentbitImageTag = "1.9.10"
DefaultFluentbitImageTag = "2.1.4"
DefaultFluentbitBufferVolumeImageRepository = "ghcr.io/kube-logging/node-exporter"
DefaultFluentbitBufferVolumeImageTag = "v0.6.1"
DefaultFluentbitBufferStorageVolumeName = "fluentbit-buffer"
Expand Down

0 comments on commit 0279e63

Please sign in to comment.