extensionsconfig

package
v0.8.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const FLuentBitFilePathBreakingChangeVersion = "1.4.6"

FLuentBitFilePathBreakingChangeVersion holds the version where the fluent-bit command arguments are changed

Variables

View Source
var EventTailer = EventTailerConfig{
	TailerAffix:           "event-tailer",
	ConfigurationFileName: "config.json",
	PositionVolumeName:    "event-tailer-position",
}

EventTailer configuration

View Source
var Global = GlobalConfig{
	FluentBitPosFilePath:   "/var/pos",
	FluentBitPosVolumeName: "positions",
	OperatorImage:          "033498657557.dkr.ecr.us-east-2.amazonaws.com/banzaicloud/logging-extensions:0.2.0",
}

Global configuration

View Source
var HostTailer = HostTailerConfig{
	FluentBitImage: "fluent/fluent-bit:1.9.5",
	TailerAffix:    "host-tailer",
}

HostTailer configuration

View Source
var TailerWebhook = TailerWebhookConfig{
	FluentBitImage:    "fluent/fluent-bit:1.9.5",
	AnnotationKey:     "sidecar.logging-extensions.banzaicloud.io/tail",
	ServerPath:        "/tailer-webhook",
	ServerPort:        9443,
	CertDir:           "/tmp/k8s-webhook-server/serving-certs",
	DisableEnvVarName: "ENABLE_TAILER_WEBHOOK",
}

TailerWebhook configuration

Functions

This section is empty.

Types

type EventTailerConfig

type EventTailerConfig struct {
	TailerAffix           string
	ConfigurationFileName string
	PositionVolumeName    string
}

EventTailerConfig is a configuration type for EventTailer

type GlobalConfig

type GlobalConfig struct {
	FluentBitPosFilePath   string
	FluentBitPosVolumeName string
	OperatorImage          string
	ContainerRuntime       string
}

GlobalConfig is a configuration type for global configurations

type HostTailerConfig

type HostTailerConfig struct {
	FluentBitImage string
	TailerAffix    string
}

HostTailerConfig is a configuration type for HostTailer

func (HostTailerConfig) VersionedFluentBitPathArgs

func (t HostTailerConfig) VersionedFluentBitPathArgs(filePath string) []string

VersionedFluentBitPathArgs returns fluent-bit config path/file args in particular format chosen by the image version

type TailerWebhookConfig

type TailerWebhookConfig struct {
	FluentBitImage    string
	AnnotationKey     string
	ServerPath        string
	ServerPort        int
	CertDir           string
	DisableEnvVarName string
}

TailerWebhookConfig is a configuration type for TailerWebhook

func (TailerWebhookConfig) VersionedFluentBitPathArgs

func (t TailerWebhookConfig) VersionedFluentBitPathArgs(filePath string) []string

VersionedFluentBitPathArgs returns fluent-bit config path/file args in particular format chosen by the image version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL