assets

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 12 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) *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 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 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 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

This section is empty.

Jump to

Keyboard shortcuts

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