You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Policy validation fails during policy apply giving following error:
❯ k apply -f sample.yaml
The KubeArmorPolicy "autopol-system-1760649700" is invalid: spec.file.matchPaths.path: Invalid value: "/usr/lib/libstdc++.so.6.0.28": spec.file.matchPaths.path in body should match '^\/([A-z0-9-_.]+\/)*([A-z0-9-_.]+)$'
The problem seems to be with the filename libstdc++.so.6.0.28. If I remove ++ from the filename then the policy apply works.
General Information
Environment description (GKE, VM-Kubeadm, vagrant-dev-env, minikube, microk8s, ...)
any
Kernel version (run uname -a)
any
Orchestration system version in use (e.g. kubectl version, ...)
any
To Reproduce
Install sample k8s cluster with kubearmor daemonset (follow deployment-guide).
Bug Report
Trying to apply a policy with valid
file.matchPaths
rule, but it fails.Policy validation fails during policy apply giving following error:
General Information
any
uname -a
)any
kubectl version
, ...)any
To Reproduce
kubectl apply -f sample.yaml
Expected behavior
kubectl apply should return successfully and the policy should be applied.
The text was updated successfully, but these errors were encountered: