Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // AllOrderedPlugins is the list of all the plugins in order. AllOrderedPlugins = []string{ lifecycle.PluginName, resourcereferencemanager.PluginName, extensionvalidation.PluginName, extensionlabels.PluginName, shoottolerationrestriction.PluginName, shootexposureclass.PluginName, shootdns.PluginName, shootmanagedseed.PluginName, shootnodelocaldns.PluginName, shootdnsrewriting.PluginName, shootquotavalidator.PluginName, shootvalidator.PluginName, seedvalidator.PluginName, controllerregistrationresources.PluginName, projectvalidator.PluginName, deletionconfirmation.PluginName, openidconnectpreset.PluginName, clusteropenidconnectpreset.PluginName, customverbauthorizer.PluginName, shootvpa.PluginName, managedseedvalidator.PluginName, managedseedshoot.PluginName, bastionvalidator.PluginName, mutatingwebhook.PluginName, validatingadmissionpolicy.PluginName, validatingwebhook.PluginName, resourcequota.PluginName, } // DefaultOnPlugins is the set of admission plugins that are enabled by default. DefaultOnPlugins = sets.NewString( lifecycle.PluginName, resourcereferencemanager.PluginName, extensionvalidation.PluginName, extensionlabels.PluginName, shoottolerationrestriction.PluginName, shootexposureclass.PluginName, shootdns.PluginName, shootmanagedseed.PluginName, shootquotavalidator.PluginName, shootvalidator.PluginName, seedvalidator.PluginName, controllerregistrationresources.PluginName, projectvalidator.PluginName, deletionconfirmation.PluginName, openidconnectpreset.PluginName, clusteropenidconnectpreset.PluginName, customverbauthorizer.PluginName, managedseedvalidator.PluginName, managedseedshoot.PluginName, bastionvalidator.PluginName, mutatingwebhook.PluginName, validatingwebhook.PluginName, validatingadmissionpolicy.PluginName, resourcequota.PluginName, ) // DefaultOffPlugins is the set of admission plugins that are disabled by default. DefaultOffPlugins = sets.NewString(AllOrderedPlugins...).Difference(DefaultOnPlugins) )
var AllGardenerAPIGroupVersions = []schema.GroupVersion{ gardencorev1beta1.SchemeGroupVersion, settingsv1alpha1.SchemeGroupVersion, seedmanagementv1alpha1.SchemeGroupVersion, operationsv1alpha1.SchemeGroupVersion, }
AllGardenerAPIGroupVersions is the list of all GroupVersions that are served by gardener-apiserver.
Functions ¶
func RegisterAllAdmissionPlugins ¶ added in v1.14.1
RegisterAllAdmissionPlugins registers all admission plugins.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
// contains filtered or unexported fields
}
CompletedConfig contains completed Gardener API server configuration.
func (CompletedConfig) New ¶
func (c CompletedConfig) New() (*GardenerServer, error)
New returns a new instance of GardenerServer from the given config.
type Config ¶
type Config struct { GenericConfig *genericapiserver.RecommendedConfig ExtraConfig ExtraConfig KubeInformerFactory kubeinformers.SharedInformerFactory CoreInformerFactory gardencoreinformers.SharedInformerFactory }
Config contains Gardener API server configuration.
func (*Config) Complete ¶
func (cfg *Config) Complete() CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
type ExtraConfig ¶
type ExtraConfig struct { AdminKubeconfigMaxExpiration time.Duration CredentialsRotationInterval time.Duration }
ExtraConfig contains non-generic Gardener API server configuration.
type ExtraOptions ¶ added in v1.8.0
type ExtraOptions struct { ClusterIdentity string AdminKubeconfigMaxExpiration time.Duration CredentialsRotationInterval time.Duration LogLevel string LogFormat string }
ExtraOptions is used for providing additional options to the Gardener API Server
func (*ExtraOptions) AddFlags ¶ added in v1.8.0
func (o *ExtraOptions) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags related to cluster identity to the options
func (*ExtraOptions) ApplyTo ¶ added in v1.24.0
func (o *ExtraOptions) ApplyTo(c *Config) error
ApplyTo applies the extra options to the API Server config.
func (*ExtraOptions) Validate ¶ added in v1.8.0
func (o *ExtraOptions) Validate() []error
Validate checks if the required flags are set
type GardenerServer ¶
type GardenerServer struct {
GenericAPIServer *genericapiserver.GenericAPIServer
}
GardenerServer contains state for a Gardener API server.