informerfiltering

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EnableSecretInformerFilteringByCertUIDEnv = "ENABLE_SECRET_INFORMER_FILTERING_BY_CERT_UID"

Variables

This section is empty.

Functions

func GetContextWithFilteringLabelSelector

func GetContextWithFilteringLabelSelector(ctx context.Context) context.Context

GetContextWithFilteringLabelSelector returns the passed context with the proper label key selector added to it.

func ShouldFilterByCertificateUID

func ShouldFilterByCertificateUID() bool

ShouldFilterByCertificateUID allows to choose whether to apply filtering on certificate related secrets when list by informers in this component. If not set or set to false no filtering is applied and instead informers will get any secret available in the cluster which may lead to mem issues in large clusters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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