applicationlayer

package
v1.36.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APLName                          = "application-layer"
	RoleName                         = "application-layer"
	ApplicationLayerDaemonsetName    = "l7-log-collector"
	L7CollectorContainerName         = "l7-collector"
	L7CollectorSocksVolumeName       = "l7-collector-socks"
	ProxyContainerName               = "envoy-proxy"
	EnvoyLogsVolumeName              = "envoy-logs"
	EnvoyConfigMapName               = "envoy-config"
	EnvoyConfigMapKey                = "envoy-config.yaml"
	FelixSync                        = "felix-sync"
	DikastesSyncVolumeName           = "dikastes-sync"
	DikastesContainerName            = "dikastes"
	ModSecurityRulesetVolumeName     = "modsecurity-ruleset"
	ModSecurityRulesetVolumePath     = "/etc/modsecurity-ruleset"
	ModSecurityRulesetConfigMapName  = "modsecurity-ruleset"
	ModSecurityRulesetHashAnnotation = "hash.operator.tigera.io/modsecurity-ruleset"
	CalicoLogsVolumeName             = "var-log-calico"
	CalicologsVolumePath             = "/var/log/calico"
)

Variables

This section is empty.

Functions

func ApplicationLayer

func ApplicationLayer(
	config *Config,
) render.Component

Types

type Config

type Config struct {
	// Required config.
	PullSecrets  []*corev1.Secret
	Installation *operatorv1.InstallationSpec
	OsType       rmeta.OSType

	// Optional config for WAF.
	PerHostWAFEnabled    bool
	ModSecurityConfigMap *corev1.ConfigMap

	// Optional config for L7 logs.
	PerHostLogsEnabled     bool
	LogRequestsPerInterval *int64
	LogIntervalSeconds     *int64

	// Optional config for ALP
	PerHostALPEnabled bool

	// Optional config for SidecarInjection
	SidecarInjectionEnabled bool

	// envoy user-configurable overrides
	UseRemoteAddressXFF bool
	NumTrustedHopsXFF   int32

	ApplicationLayer *operatorv1.ApplicationLayer
	// contains filtered or unexported fields
}

Config contains all the config information ApplicationLayer needs to render component.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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