Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SecretName is a constant for the secret name for the gardener resource manager's kubeconfig secret. SecretName = "gardener-resource-manager" // UserName is the name that should be used for the secret that the gardener resource manager uses to // authenticate itself with the kube-apiserver (e.g., the common name in its client certificate). UserName = "gardener.cloud:system:gardener-resource-manager" )
Variables ¶
This section is empty.
Functions ¶
func CentralLoggingConfiguration ¶
func CentralLoggingConfiguration() (component.CentralLoggingConfig, error)
LoggingConfiguration returns a fluent-bit parser and filters for the gardener-resource-manager logs.
Types ¶
type ResourceManager ¶
type ResourceManager interface {
component.DeployWaiter
// SetSecrets sets the secrets.
SetSecrets(Secrets)
}
ResourceManager contains functions for a gardener-resource-manager deployer.
type Secrets ¶
type Secrets struct {
// Kubeconfig enables the gardener-resource-manager to deploy resources into a different cluster than the one it is running in.
Kubeconfig component.Secret
}
Secrets is collection of secrets for the gardener-resource-manager.
type Values ¶
type Values struct {
// AlwaysUpdate if set to false then a resource will only be updated if its desired state differs from the actual state. otherwise, an update request will be always sent
AlwaysUpdate *bool
// ClusterIdentity is the identity of the managing cluster.
ClusterIdentity *string
// ConcurrentSyncs are the number of worker threads for concurrent reconciliation of resources
ConcurrentSyncs *int32
// HealthSyncPeriod describes the duration of how often the health of existing resources should be synced
HealthSyncPeriod *time.Duration
// Kubeconfig configures the gardener-resource-manager to target another cluster for creating resources.
// If this is not set resources are created in the cluster the gardener-resource-manager is deployed in
Kubeconfig *component.Secret
// LeaseDuration configures the lease duration for leader election
LeaseDuration *time.Duration
// MaxConcurrentHealthWorkers configures the number of worker threads for concurrent health reconciliation of resources
MaxConcurrentHealthWorkers *int32
// RenewDeadline configures the renew deadline for leader election
RenewDeadline *time.Duration
// ResourceClass is used to filter resource resources
ResourceClass *string
// RetryPeriod configures the retry period for leader election
RetryPeriod *time.Duration
// SyncPeriod configures the duration of how often existing resources should be synced
SyncPeriod *time.Duration
// TargetDisableCache disables the cache for target cluster and always talk directly to the API server (defaults to false)
TargetDisableCache *bool
// WatchedNamespace restricts the gardener-resource-manager to only watch ManagedResources in the defined namespace.
// If not set the gardener-resource-manager controller watches for ManagedResources in all namespaces
WatchedNamespace *string
}
Values holds the optional configuration options for the gardener resource manager
Click to show internal directories.
Click to hide internal directories.