Documentation ¶
Index ¶
- Constants
- func CentralLoggingConfiguration() (comp.CentralLoggingConfig, error)
- func ComponentConfig(oscSecretName string, kubernetesVersion *semver.Version, apiServerURL string, ...) *nodeagentv1alpha1.NodeAgentConfiguration
- func Files(config *nodeagentv1alpha1.NodeAgentConfiguration) ([]extensionsv1alpha1.File, error)
- func New() *component
- func OperatingSystemConfigSecret(ctx context.Context, seedClient client.Client, ...) (*corev1.Secret, error)
- func RBACResourcesData(secretNames []string) (map[string][]byte, error)
- func UnitContent() string
Constants ¶
const PathBinary = v1beta1constants.OperatingSystemConfigFilePathBinaries + "/gardener-node-agent"
PathBinary is a constant for the path to the gardener-node-agent binary file on the VMs.
Variables ¶
This section is empty.
Functions ¶
func CentralLoggingConfiguration ¶ added in v1.85.0
func CentralLoggingConfiguration() (comp.CentralLoggingConfig, error)
CentralLoggingConfiguration returns a fluent-bit parser and filter for the gardener-node-agent logs.
func ComponentConfig ¶
func ComponentConfig( oscSecretName string, kubernetesVersion *semver.Version, apiServerURL string, caBundle []byte, syncJitterPeriod *metav1.Duration, additionalTokenSyncConfigs []nodeagentv1alpha1.TokenSecretSyncConfig, ) *nodeagentv1alpha1.NodeAgentConfiguration
ComponentConfig returns the component configuration for the gardener-node-agent.
func Files ¶
func Files(config *nodeagentv1alpha1.NodeAgentConfiguration) ([]extensionsv1alpha1.File, error)
Files returns the files related to the gardener-node-agent unit.
func OperatingSystemConfigSecret ¶ added in v1.85.0
func OperatingSystemConfigSecret( ctx context.Context, seedClient client.Client, osc *extensionsv1alpha1.OperatingSystemConfig, secretName string, workerPoolName string, ) ( *corev1.Secret, error, )
OperatingSystemConfigSecret returns a Kubernetes secret object containing the OperatingSystemConfig that gardener-node-agent will read and reconcile on the worker machines.
func RBACResourcesData ¶ added in v1.85.0
RBACResourcesData returns a map of serialized Kubernetes resources that allow the gardener-node-agent to access the list of given secrets. Additionally, serialized resources providing permissions to allow initiating the Kubernetes TLS bootstrapping process will be returned.
func UnitContent ¶
func UnitContent() string
UnitContent returns the systemd unit content for the gardener-node-agent unit.
Types ¶
This section is empty.