Pass system agent config in user data #12
Annotations
10 errors
lint:
bootstrap/internal/controllers/rke2config_controller.go#L74
G101: Potential hardcoded credentials (gosec)
|
lint:
bootstrap/internal/controllers/rke2config_controller.go#L76
G101: Potential hardcoded credentials (gosec)
|
lint:
bootstrap/internal/controllers/rke2config_controller.go#L78
G101: Potential hardcoded credentials (gosec)
|
lint:
bootstrap/internal/controllers/rke2config_controller.go#L72
exported: exported const ClusterNameLabel should have comment (or a comment on this block) or be unexported (revive)
|
lint:
pkg/rke2/config.go#L374
if statements should only be cuddled with assignments (wsl)
|
lint:
pkg/rke2/config.go#L379
assignments should only be cuddled with other assignments (wsl)
|
lint:
pkg/rke2/config.go#L380
only one cuddle assignment allowed before if statement (wsl)
|
lint:
pkg/rke2/config.go#L390
if statements should only be cuddled with assignments (wsl)
|
lint:
bootstrap/internal/controllers/rke2config_controller.go#L393
Function `GenerateInitControlPlaneConfig->newRKE2ServerConfig` should pass the context parameter (contextcheck)
|
lint:
bootstrap/internal/controllers/rke2config_controller.go#L572
Function `GenerateJoinControlPlaneConfig->newRKE2ServerConfig` should pass the context parameter (contextcheck)
|