Help us shape the future of Go! Take the 2026 Go Developer Survey

applicationlayer

package
v1.42.1 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: Apache-2.0 Imports: 21 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"
	WAFConfigVolumeName           = "tigera-waf-config"
	WAFConfigVolumePath           = "/etc/waf"
	DefaultCoreRulesetVolumeName  = "coreruleset-default"
	DefaultCoreRulesetVolumePath  = "/etc/waf/coreruleset"
	WAFRulesetConfigMapName       = "tigera-waf-config"
	DefaultCoreRuleset            = "coreruleset-default"
	WAFConfigHashAnnotation       = "hash.operator.tigera.io/tigera-waf-config"
	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
	WAFRulesetConfigMap         *corev1.ConfigMap
	DefaultCoreRulesetConfigMap *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