assets

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdmissionDeployment

func AdmissionDeployment(name string, namespace string, component string, imageUri string, falconAdmission *falconv1alpha1.FalconAdmission, log logr.Logger) *appsv1.Deployment

AdmissionDeployment returns a Deployment object for the CrowdStrike Falcon Admission Controller

func ClusterRoleBinding

func ClusterRoleBinding(name string, namespace string, clusterrole string, sa string, component string, subj []rbacv1.Subject) *rbacv1.ClusterRoleBinding

func Daemonset

func Daemonset(dsName, image, serviceAccount string, node *falconv1alpha1.FalconNodeSensor) *appsv1.DaemonSet

func DaemonsetConfigMapName added in v1.6.0

func DaemonsetConfigMapName(node *falconv1alpha1.FalconNodeSensor) string

func ImageAnalyzerDeployment added in v1.0.0

func ImageAnalyzerDeployment(name string, namespace string, component string, imageUri string, falconImageAnalyzer *falconv1alpha1.FalconImageAnalyzer) *appsv1.Deployment

ImageAnalyzerDeployment returns a Deployment object for the CrowdStrike Falcon IAR Controller

func ImageStream

func ImageStream(name string, namespace string, component string) *imagev1.ImageStream

ImageStream returns an OpenShift ImageStream object

func MutatingWebhook

func MutatingWebhook(name string, namespace string, webhookName string, caBundle []byte, disableNSInjection bool, falconContainer *falconv1alpha1.FalconContainer) *arv1.MutatingWebhookConfiguration

MutatingWebhook creates a MutatingWebhookConfiguration object

func Namespace

func Namespace(namespace string) *corev1.Namespace

func PriorityClass

func PriorityClass(name string, value *int32) *schedulingv1.PriorityClass

func RemoveNodeDirDaemonset

func RemoveNodeDirDaemonset(dsName, image, serviceAccount string, node *falconv1alpha1.FalconNodeSensor) *appsv1.DaemonSet

func ResourceQuota

func ResourceQuota(name string, namespace string, component string, resourcePod string) *corev1.ResourceQuota

ResourceQuota returns a ResourceQuota object for the admission controller

func Role

func Role(name string, namespace string) *rbacv1.Role

func RoleBinding

func RoleBinding(name string, namespace string, role string, sa string) *rbacv1.RoleBinding

func Secret

func Secret(name string, namespace string, component string, data map[string][]byte, sType corev1.SecretType) *corev1.Secret

Secret returns a Kubernetes Secret object

func SecretWithCustomLabels added in v1.9.0

func SecretWithCustomLabels(
	name string,
	namespace string,
	data map[string][]byte,
	sType corev1.SecretType,
	labels map[string]string,
) *corev1.Secret

SecretWithCustomLabels returns a Kubernetes Secret object with custom labels

func SensorConfigMap

func SensorConfigMap(name string, ns string, component string, data map[string]string) *corev1.ConfigMap

SensorConfigMap returns a ConfigMap object for the sensor configuration

func Service

func Service(name string, namespace string, component string, selector map[string]string, portName string, port int32) *corev1.Service

Service returns a Kubernetes Service object

func ServiceAccount

func ServiceAccount(name string, namespace string, component string, annotations map[string]string, imagePullSecrets []corev1.LocalObjectReference) *corev1.ServiceAccount

func ServiceWithCustomLabels added in v1.9.0

func ServiceWithCustomLabels(
	name string,
	namespace string,
	selector map[string]string,
	labels map[string]string,
	servicePortName string,
	targetPortName string,
	port int32,
) *corev1.Service

ServiceWithCustomLabels returns a Kubernetes Service object with custom labels

func SideCarDeployment

func SideCarDeployment(name string, namespace string, component string, imageUri string, falconContainer *falconv1alpha1.FalconContainer) *appsv1.Deployment

SideCarDeployment returns a Deployment object for the CrowdStrike Falcon sidecar

func ValidatingWebhook

func ValidatingWebhook(name string, namespace string, webhookName string, caBundle []byte, port int32, failPolicy arv1.FailurePolicyType, disabledNamespaces []string) *arv1.ValidatingWebhookConfiguration

ValidatingWebhook returns a ValidatingWebhookConfiguration object

Types

type EAdmissionContainer added in v1.3.0

type EAdmissionContainer int
const (
	// These names are based on the container names used for AdmissionController deployment.
	FalconKac EAdmissionContainer = iota
	FalconClient
	FalconWatcher
)

Jump to

Keyboard shortcuts

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