Skip to content

fix(charts): add missing watch permissions #45

fix(charts): add missing watch permissions

fix(charts): add missing watch permissions #45

Triggered via pull request January 9, 2024 11:27
Status Failure
Total duration 1m 29s
Artifacts

lint-code.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: main.go#L12
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
lint: pkg/controller/serviceaccount/rolebindings.go#L11
Function 'ensureRoles' is too long (101 > 60) (funlen)
lint: pkg/controller/serviceaccount/serviceaccount.go#L75
Function 'Reconcile' is too long (89 > 60) (funlen)
lint: pkg/controller/serviceaccount/tokens.go#L6
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/maxgio92/capsule-addon-fluxcd) (gci)
lint: pkg/controller/serviceaccount/tokens.go#L7
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/maxgio92/capsule-addon-fluxcd) (gci)
lint: pkg/controller/serviceaccount/globaltenantresources.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default -s prefix(github.com/maxgio92/capsule-addon-fluxcd) (gci)
lint: pkg/controller/serviceaccount/tokens.go#L59
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: pkg/controller/serviceaccount/tokens.go#L5
File is not `gofumpt`-ed (gofumpt)
lint: pkg/controller/serviceaccount/constants.go#L1
Missed header for check (goheader)
lint: pkg/controller/serviceaccount/errors.go#L1
Missed header for check (goheader)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: pkg/controller/serviceaccount/serviceaccount.go#L24
exported: type name will be used as serviceaccount.ServiceAccountReconciler by other packages, and that stutters; consider calling this Reconciler (revive)