admissionpluginconfig

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureAdmissionPlugins

func ConfigureAdmissionPlugins(recommendedOptions *options.RecommendedOptions) error

ConfigureAdmissionPlugins may choose to reconfigure the admission plugins present on the given RecommendedOptions by mutating it.

The ValidatingAdmissionPolicy feature gate became enabled by default in Kube 1.30. When Pinniped is compiled using the Kube 1.30+ libraries, and when installed onto a Kube cluster older than 1.30, then the new admission ValidatingAdmissionPolicy plugin prevents all our aggregated APIs from working, seemingly because it fails to sync informers created for watching the related resources. As a workaround, ask the k8s API server if it has the ValidatingAdmissionPolicy resource, and configure our admission plugins accordingly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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