Skip to content

Pass system agent config in user data #12

Pass system agent config in user data

Pass system agent config in user data #12

Triggered via pull request February 19, 2024 18:53
Status Failure
Total duration 1m 51s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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)