feat: add initial controller logic #51
Annotations
9 errors
Run on Ubuntu:
internal/controller/helpers.go#L80
Error return value of `response.Body.Close` is not checked (errcheck)
|
Run on Ubuntu:
internal/controller/helpers.go#L90
Error return value of `tempFile.Close` is not checked (errcheck)
|
Run on Ubuntu:
internal/controller/helpers.go#L106
Error return value of `file.Close` is not checked (errcheck)
|
Run on Ubuntu:
internal/controller/helpers.go#L112
Error return value of `gzipReader.Close` is not checked (errcheck)
|
Run on Ubuntu:
internal/controller/helpers.go#L140
Error return value of `outFile.Close` is not checked (errcheck)
|
Run on Ubuntu:
internal/controller/kubewardenaddon_controller.go#L275
Error return value of `os.Remove` is not checked (errcheck)
|
Run on Ubuntu:
internal/controller/kubewardenaddon_controller.go#L281
Error return value of `os.RemoveAll` is not checked (errcheck)
|
Run on Ubuntu:
internal/controller/kubewardenaddon_controller.go#L296
renderHelmChart - result 0 (string) is never used (unparam)
|
Run on Ubuntu
issues found
|