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
message: |-
Validation error: Use of the Docker Unix socket is not allowed
Validation rule 'validate-docker-sock-mount' failed at path '/spec/volumes/'.
To Reproduce
Create best practice policy disallow-docker-sock-mount to your cluster
run kubectl run nginx --image=nginx
A namespacedpolicyviolation is reported.
Describe the bug
There is a pod has the following volume mounts, but a violation is reported for this volume.
Volume mounts in pod:
Message in violation:
To Reproduce
disallow-docker-sock-mount
to your clusterkubectl run nginx --image=nginx
A namespacedpolicyviolation is reported.
Screenshots
pod.yaml
namespacedpolicyviolation:
The text was updated successfully, but these errors were encountered: