Add validating webhook for k0sworkerconfig #3323
Annotations
15 errors and 1 warning
|
Lint
Process completed with exit code 2.
|
|
Lint:
internal/controller/bootstrap/worker_bootstrap_webhook.go#L63
receiver-naming: receiver name webhook should be consistent with previous receiver name v for K0sWorkerConfig (revive)
|
|
Lint:
internal/controller/bootstrap/worker_bootstrap_webhook.go#L59
unused-parameter: parameter 'obj' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint:
internal/controller/bootstrap/worker_bootstrap_webhook.go#L49
unused-parameter: parameter 'oldObj' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint:
api/bootstrap/v1beta1/k0s_types.go#L386
exported: exported method K0sWorkerConfigSpec.Validate should have comment or be unexported (revive)
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Cannot open: File exists
|
|
Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|