gatekeeper

package
v2.25.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditDeploymentReconciler added in v2.22.0

func AuditDeploymentReconciler(registryWithOverwrite registry.ImageRewriter, resourceOverride *corev1.ResourceRequirements) reconciling.NamedDeploymentReconcilerFactory

AuditDeploymentReconciler returns the function to create and update the Gatekeeper audit deployment.

func CRDReconciler added in v2.23.0

CRDReconciler returns a reconciler for a CRD.

func CRDs added in v2.23.0

CRDs returns a list of CRDs.

func ClusterRoleBindingReconciler added in v2.22.0

func ClusterRoleBindingReconciler() reconciling.NamedClusterRoleBindingReconcilerFactory

ClusterRoleBindingReconciler creates the gatekeeper ClusterRoleBinding.

func ClusterRoleReconciler added in v2.22.0

func ClusterRoleReconciler() reconciling.NamedClusterRoleReconcilerFactory

ClusterRoleReconciler creates the gatekeeper ClusterRole.

func ControllerDeploymentReconciler added in v2.22.0

func ControllerDeploymentReconciler(enableMutation bool, imageRewriter registry.ImageRewriter, resourceOverride *corev1.ResourceRequirements) reconciling.NamedDeploymentReconcilerFactory

ControllerDeploymentReconciler returns the function to create and update the Gatekeeper controller deployment.

func GetResourcesToRemoveOnDelete

func GetResourcesToRemoveOnDelete() ([]ctrlruntimeclient.Object, error)

func KubeSystemLabeler added in v2.18.0

func KubeSystemLabeler() (string, reconciling.NamespaceReconciler)

KubeSystemLabeler labels the kube-system namespace to be exempt from Gatekeeper.

func MutatingWebhookConfigurationReconciler added in v2.22.0

func MutatingWebhookConfigurationReconciler(timeout int) reconciling.NamedMutatingWebhookConfigurationReconcilerFactory

func NamespaceReconciler added in v2.22.0

func NamespaceReconciler() (string, reconciling.NamespaceReconciler)

NamespaceReconciler creates the namespace for Gatekeeper.

func PodDisruptionBudgetReconciler added in v2.22.0

func PodDisruptionBudgetReconciler() reconciling.NamedPodDisruptionBudgetReconcilerFactory

func RoleBindingReconciler added in v2.22.0

func RoleBindingReconciler() reconciling.NamedRoleBindingReconcilerFactory

RoleBindingReconciler creates the gatekeeper RoleBinding.

func RoleReconciler added in v2.22.0

func RoleReconciler() reconciling.NamedRoleReconcilerFactory

RoleReconciler creates the gatekeeper Role.

func SecretReconciler added in v2.22.0

func SecretReconciler() reconciling.NamedSecretReconcilerFactory

SecretReconciler creates the secret for gatekeeper webhook controller.

func ServiceAccountReconciler added in v2.22.0

func ServiceAccountReconciler() reconciling.NamedServiceAccountReconcilerFactory

ServiceAccountReconciler returns a func to create/update the ServiceAccount used by gatekeeper.

func ServiceReconciler added in v2.22.0

func ServiceReconciler() reconciling.NamedServiceReconcilerFactory

ServiceReconciler returns the function to reconcile the gatekeeper service.

func ValidatingWebhookConfigurationReconciler added in v2.22.0

func ValidatingWebhookConfigurationReconciler(timeout int) reconciling.NamedValidatingWebhookConfigurationReconcilerFactory

ValidatingWebhookConfigurationReconciler returns the ValidatingwebhookConfiguration for gatekeeper.

Types

This section is empty.

Jump to

Keyboard shortcuts

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