v1alpha1

package
v1.111.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// DefaultResourceClass is used as resource class if no class is specified on the command line
	DefaultResourceClass = "resources"
)
View Source
const GroupName = "resourcemanager.config.gardener.cloud"

GroupName is the group name used in this package.

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetDefaults_CSRApproverControllerConfig added in v1.106.0

func SetDefaults_CSRApproverControllerConfig(obj *CSRApproverControllerConfig)

SetDefaults_CSRApproverControllerConfig sets defaults for the CSRApproverControllerConfig object.

func SetDefaults_ClientConnection added in v1.80.0

func SetDefaults_ClientConnection(obj *ClientConnection)

SetDefaults_ClientConnection sets defaults for the client connection.

func SetDefaults_ClientConnectionConfiguration

func SetDefaults_ClientConnectionConfiguration(obj *componentbaseconfigv1alpha1.ClientConnectionConfiguration)

SetDefaults_ClientConnectionConfiguration sets defaults for the garden client connection.

func SetDefaults_GarbageCollectorControllerConfig

func SetDefaults_GarbageCollectorControllerConfig(obj *GarbageCollectorControllerConfig)

SetDefaults_GarbageCollectorControllerConfig sets defaults for the GarbageCollectorControllerConfig object.

func SetDefaults_HealthControllerConfig

func SetDefaults_HealthControllerConfig(obj *HealthControllerConfig)

SetDefaults_HealthControllerConfig sets defaults for the HealthControllerConfig object.

func SetDefaults_LeaderElectionConfiguration

func SetDefaults_LeaderElectionConfiguration(obj *componentbaseconfigv1alpha1.LeaderElectionConfiguration)

SetDefaults_LeaderElectionConfiguration sets defaults for the leader election of the Gardener controller manager.

func SetDefaults_ManagedResourceControllerConfig

func SetDefaults_ManagedResourceControllerConfig(obj *ManagedResourceControllerConfig)

SetDefaults_ManagedResourceControllerConfig sets defaults for the ManagedResourceControllerConfig object.

func SetDefaults_NetworkPolicyControllerConfig added in v1.70.3

func SetDefaults_NetworkPolicyControllerConfig(obj *NetworkPolicyControllerConfig)

SetDefaults_NetworkPolicyControllerConfig sets defaults for the NetworkPolicyControllerConfig object.

func SetDefaults_NodeAgentReconciliationDelayControllerConfig added in v1.94.0

func SetDefaults_NodeAgentReconciliationDelayControllerConfig(obj *NodeAgentReconciliationDelayControllerConfig)

SetDefaults_NodeAgentReconciliationDelayControllerConfig sets defaults for the NodeAgentReconciliationDelayControllerConfig object.

func SetDefaults_NodeCriticalComponentsControllerConfig added in v1.94.0

func SetDefaults_NodeCriticalComponentsControllerConfig(obj *NodeCriticalComponentsControllerConfig)

SetDefaults_NodeCriticalComponentsControllerConfig sets defaults for the NodeCriticalComponentsControllerConfig object.

func SetDefaults_PodSchedulerNameWebhookConfig

func SetDefaults_PodSchedulerNameWebhookConfig(obj *PodSchedulerNameWebhookConfig)

SetDefaults_PodSchedulerNameWebhookConfig sets defaults for the PodSchedulerNameWebhookConfig object.

func SetDefaults_ProjectedTokenMountWebhookConfig

func SetDefaults_ProjectedTokenMountWebhookConfig(obj *ProjectedTokenMountWebhookConfig)

SetDefaults_ProjectedTokenMountWebhookConfig sets defaults for the ProjectedTokenMountWebhookConfig object.

func SetDefaults_ResourceManagerConfiguration

func SetDefaults_ResourceManagerConfiguration(obj *ResourceManagerConfiguration)

SetDefaults_ResourceManagerConfiguration sets defaults for the configuration of the ResourceManagerConfiguration.

func SetDefaults_ResourceManagerControllerConfiguration

func SetDefaults_ResourceManagerControllerConfiguration(obj *ResourceManagerControllerConfiguration)

SetDefaults_ResourceManagerControllerConfiguration sets defaults for the controller configuration.

func SetDefaults_ServerConfiguration

func SetDefaults_ServerConfiguration(obj *ServerConfiguration)

SetDefaults_ServerConfiguration sets defaults for the server configuration.

func SetDefaults_TokenInvalidatorControllerConfig

func SetDefaults_TokenInvalidatorControllerConfig(obj *TokenInvalidatorControllerConfig)

SetDefaults_TokenInvalidatorControllerConfig sets defaults for the TokenInvalidatorControllerConfig object.

func SetDefaults_TokenRequestorControllerConfig

func SetDefaults_TokenRequestorControllerConfig(obj *TokenRequestorControllerConfig)

SetDefaults_TokenRequestorControllerConfig sets defaults for the TokenRequestorControllerConfig object.

func SetObjectDefaults_ResourceManagerConfiguration

func SetObjectDefaults_ResourceManagerConfiguration(in *ResourceManagerConfiguration)

Types

type CRDDeletionProtection added in v1.61.0

type CRDDeletionProtection struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
}

CRDDeletionProtection is the configuration for the crd-deletion-protection webhook.

func (*CRDDeletionProtection) DeepCopy added in v1.61.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CRDDeletionProtection.

func (*CRDDeletionProtection) DeepCopyInto added in v1.61.0

func (in *CRDDeletionProtection) DeepCopyInto(out *CRDDeletionProtection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type CSRApproverControllerConfig added in v1.106.0

type CSRApproverControllerConfig struct {
	// Enabled defines whether this controller is enabled.
	Enabled bool `json:"enabled"`
	// ConcurrentSyncs is the number of concurrent worker routines for this controller.
	// +optional
	ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"`
	// MachineNamespace is the namespace in the source cluster in which the Machine objects are stored.
	MachineNamespace string `json:"machineNamespace"`
}

CSRApproverControllerConfig is the configuration for the csr-approver controller.

func (*CSRApproverControllerConfig) DeepCopy added in v1.106.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CSRApproverControllerConfig.

func (*CSRApproverControllerConfig) DeepCopyInto added in v1.106.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ClientConnection added in v1.80.0

type ClientConnection struct {
	componentbaseconfigv1alpha1.ClientConnectionConfiguration `json:",inline"`
	// Namespaces in which the ManagedResources should be observed (defaults to "all namespaces").
	// +optional
	Namespaces []string `json:"namespaces,omitempty"`
	// CacheResyncPeriod specifies the duration how often the cache for the cluster is resynced.
	// +optional
	CacheResyncPeriod *metav1.Duration `json:"cacheResyncPeriod,omitempty"`
}

ClientConnection specifies the client connection settings to use when communicating with an API server.

func (*ClientConnection) DeepCopy added in v1.80.0

func (in *ClientConnection) DeepCopy() *ClientConnection

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConnection.

func (*ClientConnection) DeepCopyInto added in v1.80.0

func (in *ClientConnection) DeepCopyInto(out *ClientConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EndpointSliceHintsWebhookConfig added in v1.66.0

type EndpointSliceHintsWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
}

EndpointSliceHintsWebhookConfig is the configuration for the endpoint-slice-hints webhook.

func (*EndpointSliceHintsWebhookConfig) DeepCopy added in v1.66.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSliceHintsWebhookConfig.

func (*EndpointSliceHintsWebhookConfig) DeepCopyInto added in v1.66.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ExtensionValidation added in v1.61.0

type ExtensionValidation struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
}

ExtensionValidation is the configuration for the extension-validation webhook.

func (*ExtensionValidation) DeepCopy added in v1.61.0

func (in *ExtensionValidation) DeepCopy() *ExtensionValidation

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtensionValidation.

func (*ExtensionValidation) DeepCopyInto added in v1.61.0

func (in *ExtensionValidation) DeepCopyInto(out *ExtensionValidation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GarbageCollectorControllerConfig

type GarbageCollectorControllerConfig struct {
	// Enabled defines whether this controller is enabled.
	Enabled bool `json:"enabled"`
	// SyncPeriod is the duration how often the controller performs its reconciliation.
	// +optional
	SyncPeriod *metav1.Duration `json:"syncPeriod,omitempty"`
}

GarbageCollectorControllerConfig is the configuration for the garbage-collector controller.

func (*GarbageCollectorControllerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GarbageCollectorControllerConfig.

func (*GarbageCollectorControllerConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HTTPSServer

type HTTPSServer struct {
	// Server is the configuration for the bind address and the port.
	Server `json:",inline"`
	// TLSServer contains information about the TLS configuration for an HTTPS server.
	TLS TLSServer `json:"tls"`
}

HTTPSServer is the configuration for the HTTPSServer server.

func (*HTTPSServer) DeepCopy

func (in *HTTPSServer) DeepCopy() *HTTPSServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPSServer.

func (*HTTPSServer) DeepCopyInto

func (in *HTTPSServer) DeepCopyInto(out *HTTPSServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HealthControllerConfig

type HealthControllerConfig struct {
	// ConcurrentSyncs is the number of concurrent worker routines for this controller.
	// +optional
	ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"`
	// SyncPeriod is the duration how often the controller performs its reconciliation.
	// +optional
	SyncPeriod *metav1.Duration `json:"syncPeriod,omitempty"`
}

HealthControllerConfig is the configuration for the health controller.

func (*HealthControllerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthControllerConfig.

func (*HealthControllerConfig) DeepCopyInto

func (in *HealthControllerConfig) DeepCopyInto(out *HealthControllerConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type HighAvailabilityConfigWebhookConfig added in v1.60.0

type HighAvailabilityConfigWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
	// DefaultNotReadyTolerationSeconds specifies the seconds for the `node.kubernetes.io/not-ready` toleration that
	// should be added to pods not already tolerating this taint.
	// +optional
	DefaultNotReadyTolerationSeconds *int64 `json:"defaultNotReadyTolerationSeconds,omitempty"`
	// DefaultUnreachableTolerationSeconds specifies the seconds for the `node.kubernetes.io/unreachable` toleration that
	// should be added to pods not already tolerating this taint.
	// +optional
	DefaultUnreachableTolerationSeconds *int64 `json:"defaultUnreachableTolerationSeconds,omitempty"`
}

HighAvailabilityConfigWebhookConfig is the configuration for the high-availability-config webhook.

func (*HighAvailabilityConfigWebhookConfig) DeepCopy added in v1.60.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HighAvailabilityConfigWebhookConfig.

func (*HighAvailabilityConfigWebhookConfig) DeepCopyInto added in v1.60.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type IngressControllerSelector added in v1.67.0

type IngressControllerSelector struct {
	// Namespace is the name of the namespace in which the ingress controller runs.
	Namespace string `json:"namespace"`
	// PodSelector is the selector for the ingress controller pods.
	PodSelector metav1.LabelSelector `json:"podSelector"`
}

IngressControllerSelector contains the pod selector and namespace for an ingress controller.

func (*IngressControllerSelector) DeepCopy added in v1.67.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressControllerSelector.

func (*IngressControllerSelector) DeepCopyInto added in v1.67.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KubernetesServiceHostWebhookConfig added in v1.72.0

type KubernetesServiceHostWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
	// Host is the FQDN of the API server.
	Host string `json:"host"`
}

KubernetesServiceHostWebhookConfig is the configuration for the kubernetes-service-host webhook.

func (*KubernetesServiceHostWebhookConfig) DeepCopy added in v1.72.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesServiceHostWebhookConfig.

func (*KubernetesServiceHostWebhookConfig) DeepCopyInto added in v1.72.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedResourceControllerConfig

type ManagedResourceControllerConfig struct {
	// ConcurrentSyncs is the number of concurrent worker routines for this controller.
	// +optional
	ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"`
	// SyncPeriod is the duration how often the controller performs its reconciliation.
	// +optional
	SyncPeriod *metav1.Duration `json:"syncPeriod,omitempty"`
	// AlwaysUpdate specifies whether resources will only be updated if their desired state differs from the actual
	// state. If true, an update request will be sent in each reconciliation independent of this condition.
	// +optional
	AlwaysUpdate *bool `json:"alwaysUpdate,omitempty"`
	// ManagedByLabelValue is the value that is used for labeling all resources managed by the controller. The labels
	// will have key `resources.gardener.cloud/managed-by`.
	// Default: gardener
	// +optional
	ManagedByLabelValue *string `json:"managedByLabelValue,omitempty"`
}

ManagedResourceControllerConfig is the configuration for the managed resource controller.

func (*ManagedResourceControllerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedResourceControllerConfig.

func (*ManagedResourceControllerConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NetworkPolicyControllerConfig added in v1.64.0

type NetworkPolicyControllerConfig struct {
	// Enabled defines whether this controller is enabled.
	Enabled bool `json:"enabled"`
	// ConcurrentSyncs is the number of concurrent worker routines for this controller.
	// +optional
	ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"`
	// NamespaceSelectors is a list of label selectors for namespaces in which the controller shall reconcile Service
	// objects. An empty list means all namespaces.
	// +optional
	NamespaceSelectors []metav1.LabelSelector `json:"namespaceSelectors,omitempty"`
	// IngressControllerSelector contains the pod selector and namespace for an ingress controller. If provided, this
	// NetworkPolicy controller watches Ingress resources and automatically creates NetworkPolicy resources allowing
	// the respective ingress/egress traffic for the backends exposed by the Ingresses.
	// +optional
	IngressControllerSelector *IngressControllerSelector `json:"ingressControllerSelector,omitempty"`
}

NetworkPolicyControllerConfig is the configuration for the networkpolicy controller.

func (*NetworkPolicyControllerConfig) DeepCopy added in v1.64.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyControllerConfig.

func (*NetworkPolicyControllerConfig) DeepCopyInto added in v1.64.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeAgentAuthorizerWebhookConfig added in v1.107.0

type NodeAgentAuthorizerWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
	// MachineNamespace is the namespace in the source cluster in which the Machine objects are stored.
	MachineNamespace string `json:"machineNamespace"`
}

NodeAgentAuthorizerWebhookConfig is the configuration for the node-agent-authorizer webhook.

func (*NodeAgentAuthorizerWebhookConfig) DeepCopy added in v1.107.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAgentAuthorizerWebhookConfig.

func (*NodeAgentAuthorizerWebhookConfig) DeepCopyInto added in v1.107.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeAgentReconciliationDelayControllerConfig added in v1.94.0

type NodeAgentReconciliationDelayControllerConfig struct {
	// Enabled defines whether this controller is enabled.
	Enabled bool `json:"enabled"`
	// MinDelay is the minimum duration to use for delays (default: 0s).
	// +optional
	MinDelay *metav1.Duration `json:"minDelay,omitempty"`
	// MaxDelay is the maximum duration to use for delays (default: 5m).
	// +optional
	MaxDelay *metav1.Duration `json:"maxDelay,omitempty"`
}

NodeAgentReconciliationDelayControllerConfig is the configuration for the node-agent reconciliation delay controller.

func (*NodeAgentReconciliationDelayControllerConfig) DeepCopy added in v1.94.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeAgentReconciliationDelayControllerConfig.

func (*NodeAgentReconciliationDelayControllerConfig) DeepCopyInto added in v1.94.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeCriticalComponentsControllerConfig added in v1.94.0

type NodeCriticalComponentsControllerConfig struct {
	// Enabled defines whether this controller is enabled.
	Enabled bool `json:"enabled"`
	// ConcurrentSyncs is the number of concurrent worker routines for this controller.
	// +optional
	ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"`
	// Backoff is the duration to use as backoff when Nodes have non-ready node-critical pods (defaults to 10s).
	// +optional
	Backoff *metav1.Duration `json:"backoff,omitempty"`
}

NodeCriticalComponentsControllerConfig is the configuration for the node critical components controller.

func (*NodeCriticalComponentsControllerConfig) DeepCopy added in v1.94.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeCriticalComponentsControllerConfig.

func (*NodeCriticalComponentsControllerConfig) DeepCopyInto added in v1.94.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodSchedulerNameWebhookConfig

type PodSchedulerNameWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
	// SchedulerName is the name of the scheduler that should be written into the .spec.schedulerName of pod resources.
	// +optional
	SchedulerName *string `json:"schedulerName,omitempty"`
}

PodSchedulerNameWebhookConfig is the configuration for the pod-scheduler-name webhook.

func (*PodSchedulerNameWebhookConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSchedulerNameWebhookConfig.

func (*PodSchedulerNameWebhookConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PodTopologySpreadConstraintsWebhookConfig

type PodTopologySpreadConstraintsWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
}

PodTopologySpreadConstraintsWebhookConfig is the configuration for the pod-topology-spread-constraints webhook.

func (*PodTopologySpreadConstraintsWebhookConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodTopologySpreadConstraintsWebhookConfig.

func (*PodTopologySpreadConstraintsWebhookConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ProjectedTokenMountWebhookConfig

type ProjectedTokenMountWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
	// ExpirationSeconds is the number of seconds until mounted projected service account tokens expire.
	// +optional
	ExpirationSeconds *int64 `json:"expirationSeconds,omitempty"`
}

ProjectedTokenMountWebhookConfig is the configuration for the projected-token-mount webhook.

func (*ProjectedTokenMountWebhookConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectedTokenMountWebhookConfig.

func (*ProjectedTokenMountWebhookConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceManagerConfiguration

type ResourceManagerConfiguration struct {
	metav1.TypeMeta `json:",inline"`
	// SourceClientConnection specifies the client connection settings for the proxy server
	// to use when communicating with the source apiserver.
	// +optional
	SourceClientConnection ClientConnection `json:"sourceClientConnection"`
	// TargetClientConnection specifies the client connection settings for the proxy server
	// to use when communicating with the target apiserver.
	// +optional
	TargetClientConnection *ClientConnection `json:"targetClientConnection,omitempty"`
	// LeaderElection defines the configuration of leader election client.
	LeaderElection componentbaseconfigv1alpha1.LeaderElectionConfiguration `json:"leaderElection"`
	// Server defines the configuration of the HTTP server.
	Server ServerConfiguration `json:"server"`
	// Debugging holds configuration for Debugging related features.
	// +optional
	Debugging *componentbaseconfigv1alpha1.DebuggingConfiguration `json:"debugging,omitempty"`
	// LogLevel is the level/severity for the logs. Must be one of [info,debug,error].
	LogLevel string `json:"logLevel"`
	// LogFormat is the output format for the logs. Must be one of [text,json].
	LogFormat string `json:"logFormat"`
	// Controllers defines the configuration of the controllers.
	Controllers ResourceManagerControllerConfiguration `json:"controllers"`
	// Webhooks defines the configuration of the webhooks.
	Webhooks ResourceManagerWebhookConfiguration `json:"webhooks"`
}

ResourceManagerConfiguration defines the configuration for the gardener-resource-manager.

func (*ResourceManagerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerConfiguration.

func (*ResourceManagerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ResourceManagerConfiguration) DeepCopyObject

func (in *ResourceManagerConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ResourceManagerControllerConfiguration

type ResourceManagerControllerConfiguration struct {
	// ClusterID is the ID of the source cluster.
	// +optional
	ClusterID *string `json:"clusterID,omitempty"`
	// ResourceClass is the name of the class in ManagedResources to filter for.
	// +optional
	ResourceClass *string `json:"resourceClass,omitempty"`

	// GarbageCollector is the configuration for the garbage-collector controller.
	GarbageCollector GarbageCollectorControllerConfig `json:"garbageCollector"`
	// Health is the configuration for the health controller.
	Health HealthControllerConfig `json:"health"`
	// CSRApprover is the configuration for the csr-approver controller.
	CSRApprover CSRApproverControllerConfig `json:"csrApprover"`
	// ManagedResource is the configuration for the managed resource controller.
	ManagedResource ManagedResourceControllerConfig `json:"managedResource"`
	// NetworkPolicy is the configuration for the networkpolicy controller.
	NetworkPolicy NetworkPolicyControllerConfig `json:"networkPolicy"`
	// NodeCriticalComponents is the configuration for the node critical components controller.
	NodeCriticalComponents NodeCriticalComponentsControllerConfig `json:"nodeCriticalComponents"`
	// NodeAgentReconciliationDelay is the configuration for the node-agent reconciliation delay controller.
	NodeAgentReconciliationDelay NodeAgentReconciliationDelayControllerConfig `json:"nodeAgentReconciliationDelay"`
	// TokenInvalidator is the configuration for the token-invalidator controller.
	TokenInvalidator TokenInvalidatorControllerConfig `json:"tokenInvalidator"`
	// TokenRequestor is the configuration for the token-requestor controller.
	TokenRequestor TokenRequestorControllerConfig `json:"tokenRequestor"`
}

ResourceManagerControllerConfiguration defines the configuration of the controllers.

func (*ResourceManagerControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerControllerConfiguration.

func (*ResourceManagerControllerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceManagerWebhookConfiguration

type ResourceManagerWebhookConfiguration struct {
	// CRDDeletionProtection is the configuration for the crd-deletion-protection webhook.
	CRDDeletionProtection CRDDeletionProtection `json:"crdDeletionProtection"`
	// EndpointSliceHints is the configuration for the endpoint-slice-hints webhook.
	EndpointSliceHints EndpointSliceHintsWebhookConfig `json:"endpointSliceHints"`
	// ExtensionValidation is the configuration for the extension-validation webhook.
	ExtensionValidation ExtensionValidation `json:"extensionValidation"`
	// HighAvailabilityConfig is the configuration for the high-availability-config webhook.
	HighAvailabilityConfig HighAvailabilityConfigWebhookConfig `json:"highAvailabilityConfig"`
	// KubernetesServiceHost is the configuration for the kubernetes-service-host webhook.
	KubernetesServiceHost KubernetesServiceHostWebhookConfig `json:"kubernetesServiceHost"`
	// SystemComponentsConfig is the configuration for the system-components-config webhook.
	SystemComponentsConfig SystemComponentsConfigWebhookConfig `json:"systemComponentsConfig"`
	// PodSchedulerName is the configuration for the pod-scheduler-name webhook.
	PodSchedulerName PodSchedulerNameWebhookConfig `json:"podSchedulerName"`
	// PodTopologySpreadConstraints is the configuration for the pod-topology-spread-constraints webhook.
	PodTopologySpreadConstraints PodTopologySpreadConstraintsWebhookConfig `json:"podTopologySpreadConstraints"`
	// ProjectedTokenMount is the configuration for the projected-token-mount webhook.
	ProjectedTokenMount ProjectedTokenMountWebhookConfig `json:"projectedTokenMount"`
	// NodeAgentAuthorizer is the configuration for the node-agent-authorizer webhook.
	NodeAgentAuthorizer NodeAgentAuthorizerWebhookConfig `json:"nodeAgentAuthorizer"`
	// SeccompProfile is the configuration for the seccomp-profile webhook.
	SeccompProfile SeccompProfileWebhookConfig `json:"seccompProfile"`
	// TokenInvalidator is the configuration for the token-invalidator webhook.
	TokenInvalidator TokenInvalidatorWebhookConfig `json:"tokenInvalidator"`
}

ResourceManagerWebhookConfiguration defines the configuration of the webhooks.

func (*ResourceManagerWebhookConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceManagerWebhookConfiguration.

func (*ResourceManagerWebhookConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SeccompProfileWebhookConfig

type SeccompProfileWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
}

SeccompProfileWebhookConfig is the configuration for the seccomp-profile webhook.

func (*SeccompProfileWebhookConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SeccompProfileWebhookConfig.

func (*SeccompProfileWebhookConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Server

type Server struct {
	// BindAddress is the IP address on which to listen for the specified port.
	BindAddress string `json:"bindAddress"`
	// Port is the port on which to serve unsecured, unauthenticated access.
	Port int `json:"port"`
}

Server contains information for HTTP(S) server configuration.

func (*Server) DeepCopy

func (in *Server) DeepCopy() *Server

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Server.

func (*Server) DeepCopyInto

func (in *Server) DeepCopyInto(out *Server)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ServerConfiguration

type ServerConfiguration struct {
	// Webhooks is the configuration for the HTTPS webhook server.
	Webhooks HTTPSServer `json:"webhooks"`
	// HealthProbes is the configuration for serving the healthz and readyz endpoints.
	// +optional
	HealthProbes *Server `json:"healthProbes,omitempty"`
	// Metrics is the configuration for serving the metrics endpoint.
	// +optional
	Metrics *Server `json:"metrics,omitempty"`
}

ServerConfiguration contains details for the HTTP(S) servers.

func (*ServerConfiguration) DeepCopy

func (in *ServerConfiguration) DeepCopy() *ServerConfiguration

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerConfiguration.

func (*ServerConfiguration) DeepCopyInto

func (in *ServerConfiguration) DeepCopyInto(out *ServerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type SystemComponentsConfigWebhookConfig added in v1.63.0

type SystemComponentsConfigWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
	// NodeSelector is the selector used to retrieve nodes that run system components.
	// +optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// PodNodeSelector is the node selector that should be added to pods.
	// +optional
	PodNodeSelector map[string]string `json:"podNodeSelector,omitempty"`
	// PodTolerations are the tolerations that should be added to pods.
	// +optional
	PodTolerations []corev1.Toleration `json:"podTolerations,omitempty"`
}

SystemComponentsConfigWebhookConfig is the configuration for the system-components-config webhook.

func (*SystemComponentsConfigWebhookConfig) DeepCopy added in v1.63.0

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SystemComponentsConfigWebhookConfig.

func (*SystemComponentsConfigWebhookConfig) DeepCopyInto added in v1.63.0

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TLSServer

type TLSServer struct {
	// ServerCertDir is the path to a directory containing the server's TLS certificate and key (the files must be
	// named tls.crt and tls.key respectively).
	ServerCertDir string `json:"serverCertDir"`
}

TLSServer contains information about the TLS configuration for an HTTPS server.

func (*TLSServer) DeepCopy

func (in *TLSServer) DeepCopy() *TLSServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TLSServer.

func (*TLSServer) DeepCopyInto

func (in *TLSServer) DeepCopyInto(out *TLSServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TokenInvalidatorControllerConfig

type TokenInvalidatorControllerConfig struct {
	// Enabled defines whether this controller is enabled.
	Enabled bool `json:"enabled"`
	// ConcurrentSyncs is the number of concurrent worker routines for this controller.
	// +optional
	ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"`
}

TokenInvalidatorControllerConfig is the configuration for the token-invalidator controller.

func (*TokenInvalidatorControllerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenInvalidatorControllerConfig.

func (*TokenInvalidatorControllerConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TokenInvalidatorWebhookConfig

type TokenInvalidatorWebhookConfig struct {
	// Enabled defines whether this webhook is enabled.
	Enabled bool `json:"enabled"`
}

TokenInvalidatorWebhookConfig is the configuration for the token-invalidator webhook.

func (*TokenInvalidatorWebhookConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenInvalidatorWebhookConfig.

func (*TokenInvalidatorWebhookConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type TokenRequestorControllerConfig

type TokenRequestorControllerConfig struct {
	// Enabled defines whether this controller is enabled.
	Enabled bool `json:"enabled"`
	// ConcurrentSyncs is the number of concurrent worker routines for this controller.
	// +optional
	ConcurrentSyncs *int `json:"concurrentSyncs,omitempty"`
}

TokenRequestorControllerConfig is the configuration for the token-requestor controller.

func (*TokenRequestorControllerConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenRequestorControllerConfig.

func (*TokenRequestorControllerConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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