Skip to content

fix(cert): read ca crt file only with externalcertloader #3226

fix(cert): read ca crt file only with externalcertloader

fix(cert): read ca crt file only with externalcertloader #3226

Triggered via pull request March 4, 2024 12:37
Status Success
Total duration 1m 41s
Artifacts

ci-test-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 28 warnings
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
missing go.sum entry for module providing package google.golang.org/grpc (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/grpc/codes (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/grpc/status (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/protobuf/reflect/protoreflect (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln
missing go.sum entry for module providing package google.golang.org/protobuf/runtime/protoimpl (imported by github.com/kubearmor/KubeArmor/protobuf); to add:
go-vuln: protobuf/kubearmor.pb.go#L10
could not import google.golang.org/protobuf/reflect/protoreflect (invalid package name: "")
go-vuln: protobuf/kubearmor.pb.go#L11
could not import google.golang.org/protobuf/runtime/protoimpl (invalid package name: "")
go-vuln: protobuf/kubearmor_grpc.pb.go#L11
could not import google.golang.org/grpc (invalid package name: "")
go-vuln: protobuf/kubearmor_grpc.pb.go#L12
could not import google.golang.org/grpc/codes (invalid package name: "")
go-fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
license
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint-tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L14
should not use dot imports
go-lint-tests: tests/util/kartutil.go#L596
exported function K8sRuntime should have comment or be unexported
go-lint-tests: tests/util/kartutil.go#L221
exported function AnnotationsMatch should have comment or be unexported
go-lint-tests: tests/k8s_env/privileged/privileged_suite_test.go#L9
should not use dot imports
go-lint-tests: tests/util/kartutil.go#L606
comment on exported function RunDockerCommand should be of the form "RunDockerCommand ..."
go-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-lint: KubeArmor/policy/policy.go#L24
parameter 'c' seems to be unused, consider removing or renaming it as _
go-lint: KubeArmor/policy/policy.go#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
go-lint: KubeArmor/policy/policy.go#L52
parameter 'c' 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/state/stateAgent.go#L98
parameter 'msg' seems to be unused, consider removing or renaming it as _
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#L4
package comment should be of the form "Package state ..."
go-lint: KubeArmor/common/common.go#L491
comment on exported function HandleGRPCErrors should be of the form "HandleGRPCErrors ..."
go-lint: KubeArmor/common/common.go#L99
redefinition of the built-in function new
go-lint: KubeArmor/common/common.go#L512
comment on exported function GetBootTime should be of the form "GetBootTime ..."
go-vuln
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
go-sec
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.