Skip to content

fix(deps): update kubernetes packages to v0.32.0 #5185

fix(deps): update kubernetes packages to v0.32.0

fix(deps): update kubernetes packages to v0.32.0 #5185

Triggered via pull request December 24, 2024 06:09
Status Failure
Total duration 1m 19s
Artifacts

ci-test-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 27 warnings
go-test
Process completed with exit code 1.
go-vuln
missing go.sum entry for module providing package github.com/golang/protobuf/ptypes/empty (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln: protobuf/policy.pb.go#L10
could not import github.com/golang/protobuf/ptypes/empty (invalid package name: "")
go-vuln
missing go.sum entry for module providing package k8s.io/apimachinery/pkg/apis/meta/v1 (imported by github.com/kubearmor/KubeArmor/pkg/KubeArmorController/api/security.kubearmor.com/v1); to add:
go-vuln
missing go.sum entry for module providing package k8s.io/apimachinery/pkg/runtime (imported by github.com/kubearmor/KubeArmor/pkg/KubeArmorController/api/security.kubearmor.com/v1); to add:
go-vuln
missing go.sum entry for module providing package k8s.io/apimachinery/pkg/runtime/schema (imported by github.com/kubearmor/KubeArmor/pkg/KubeArmorController/api/security.kubearmor.com/v1); to add:
go-vuln
could not import k8s.io/apimachinery/pkg/apis/meta/v1 (invalid package name: "")
go-vuln
could not import k8s.io/apimachinery/pkg/runtime (invalid package name: "")
go-vuln
could not import k8s.io/apimachinery/pkg/runtime/schema (invalid package name: "")
go-vuln: pkg/KubeArmorController/api/security.kubearmor.com/v1/groupversion_info.go#L10
could not import k8s.io/apimachinery/pkg/runtime/schema (invalid package name: "")
go-vuln: pkg/KubeArmorController/api/security.kubearmor.com/v1/kubearmorclusterpolicy_types.go#L7
could not import k8s.io/apimachinery/pkg/apis/meta/v1 (invalid package name: "")
go-sec
Process completed with exit code 2.
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint-tests: tests/k8s_env/blockposture/block_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/blockposture/block_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/blockposture/block_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/csp/csp_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/configmap/kubearmor_config_test.go#L11
should not use dot imports
go-lint-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint: KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
go-lint: KubeArmor/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
go-lint: KubeArmor/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/state/stateAgent.go#L123
parameter 'msg' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/cert/tls.go#L15
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/cert/tls.go#L19
exported type TlsConfig should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L37
exported type TlsCredentialManager should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L41
exported function NewTlsCredentialManager should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L74
exported method TlsCredentialManager.CreateTlsClientCredentials should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L88
exported method TlsCredentialManager.CreateTlsServerCredentials should have comment or be unexported
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum