common

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FalconContainerInjection = "sensor.falcon-system.crowdstrike.com/injection"
	FalconHostInstallDir     = "/opt"
	FalconDataDir            = "/opt/CrowdStrike"
	FalconStoreFile          = "/opt/CrowdStrike/falconstore"
	FalconContainerProbePath = "/live"
	FalconServiceHTTPSName   = "https"
	FalconServiceHTTPSPort   = 443

	FalconInstanceNameKey = "crowdstrike.com/name"
	FalconInstanceKey     = "crowdstrike.com/instance"
	FalconComponentKey    = "crowdstrike.com/component"
	FalconManagedByKey    = "crowdstrike.com/managed-by"
	FalconPartOfKey       = "crowdstrike.com/part-of"
	FalconProviderKey     = "crowdstrike.com/provider"
	FalconControllerKey   = "crowdstrike.com/created-by"
	FalconKernelSensor    = "kernel_sensor"

	FalconFinalizer     = "falcon.crowdstrike.com/finalizer"
	FalconProviderValue = "crowdstrike"

	FalconInstallerJobContainerName = "installer"

	FalconPullSecretName       = "crowdstrike-falcon-pull-secret"
	NodeServiceAccountName     = "crowdstrike-falcon-node-sensor"
	NodeClusterRoleName        = "crowdstrike-falcon-node-sensor"
	NodeClusterRoleBindingName = "crowdstrike-falcon-node-sensor"
	NodeSccName                = "crowdstrike-falcon-node-sensor"
)

Variables

View Source
var (
	NodeSelector            = map[string]string{"kubernetes.io/os": "linux"}
	FalconShellCommand      = []string{"/bin/bash"}
	OrigDSConfVersion       = "0"
	FalconOperatorNamespace = "falcon-operator"
	FalconInjectorCommand   = []string{"injector"}
	Validity                = 3650
	CA                      = GenCA(FalconOperatorNamespace, Validity)
)

Functions

func CleanDecodedBase64 added in v0.5.0

func CleanDecodedBase64(s []byte) []byte

func CleanupSleep added in v0.5.4

func CleanupSleep() []string

func EncodedBase64String added in v0.4.1

func EncodedBase64String(data string) []byte

func FCAdmissionReviewVersions added in v0.4.1

func FCAdmissionReviewVersions() []string

func GenCA added in v0.4.1

func GenCA(cn string, validity int) sprigcrypto.Certificate

func GenCert added in v0.4.1

func GenCert(cn string, ips []interface{}, alternateDNS []interface{}, validity int, ca sprigcrypto.Certificate) sprigcrypto.Certificate

func GetKubernetesVersion added in v0.4.1

func GetKubernetesVersion() *version.Info

func InitCleanupArgs added in v0.5.4

func InitCleanupArgs() []string

func InitContainerArgs

func InitContainerArgs() []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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