Fixes bug #1787 non-k8s: KubeArmor panics when not-enabled policy type is received #4521
Annotations
12 warnings
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
KubeArmor/cert/tls.go#L15
exported const SelfCertProvider should have comment (or a comment on this block) or be unexported
|
KubeArmor/policy/policy.go#L17
type name will be used as policy.PolicyServer by other packages, and that stutters; consider calling this Server
|
KubeArmor/cert/tls.go#L37
exported type TlsCredentialManager should have comment or be unexported
|
KubeArmor/cert/tls.go#L19
exported type TlsConfig should have comment or be unexported
|
KubeArmor/cert/tls.go#L74
exported method TlsCredentialManager.CreateTlsClientCredentials should have comment or be unexported
|
KubeArmor/cert/tls.go#L41
exported function NewTlsCredentialManager should have comment or be unexported
|
KubeArmor/cert/tls.go#L103
exported function GetX509KeyPairFromCertBytes should have comment or be unexported
|
KubeArmor/cert/tls.go#L88
exported method TlsCredentialManager.CreateTlsServerCredentials should have comment or be unexported
|
KubeArmor/state/stateAgent.go#L42
type name will be used as state.StateAgent by other packages, and that stutters; consider calling this Agent
|
KubeArmor/feeder/feeder.go#L40
comment on exported const QueueSize should be of the form "QueueSize ..."
|
This job succeeded
Loading