Documentation ¶
Index ¶
- func AuditDeploymentReconciler(registryWithOverwrite registry.ImageRewriter, ...) reconciling.NamedDeploymentReconcilerFactory
- func CRDReconciler(crd apiextensionsv1.CustomResourceDefinition) reconciling.NamedCustomResourceDefinitionReconcilerFactory
- func CRDs() ([]apiextensionsv1.CustomResourceDefinition, error)
- func ClusterRoleBindingReconciler() reconciling.NamedClusterRoleBindingReconcilerFactory
- func ClusterRoleReconciler() reconciling.NamedClusterRoleReconcilerFactory
- func ControllerDeploymentReconciler(enableMutation bool, imageRewriter registry.ImageRewriter, ...) reconciling.NamedDeploymentReconcilerFactory
- func GetResourcesToRemoveOnDelete() ([]ctrlruntimeclient.Object, error)
- func KubeSystemLabeler() (string, reconciling.NamespaceReconciler)
- func MutatingWebhookConfigurationReconciler(timeout int) reconciling.NamedMutatingWebhookConfigurationReconcilerFactory
- func NamespaceReconciler() (string, reconciling.NamespaceReconciler)
- func PodDisruptionBudgetReconciler() reconciling.NamedPodDisruptionBudgetReconcilerFactory
- func RoleBindingReconciler() reconciling.NamedRoleBindingReconcilerFactory
- func RoleReconciler() reconciling.NamedRoleReconcilerFactory
- func SecretReconciler() reconciling.NamedSecretReconcilerFactory
- func ServiceAccountReconciler() reconciling.NamedServiceAccountReconcilerFactory
- func ServiceReconciler() reconciling.NamedServiceReconcilerFactory
- func ValidatingWebhookConfigurationReconciler(timeout int) reconciling.NamedValidatingWebhookConfigurationReconcilerFactory
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
func CRDReconciler(crd apiextensionsv1.CustomResourceDefinition) reconciling.NamedCustomResourceDefinitionReconcilerFactory
CRDReconciler returns a reconciler for a CRD.
func CRDs ¶ added in v2.23.0
func CRDs() ([]apiextensionsv1.CustomResourceDefinition, error)
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.