<p>Running k8s 1.6 and in api-server, below is configured:</p>

<p><code>--enable-admission-plugins SecurityContextDeny</code></p>

<p>Is it possible to disable it for one pod or is there an exclusion list or override for a deployment.</p>

<p>I need to run a pod with:</p>

<pre><code>      securityContext:
        runAsUser: 0
</code></pre>

<p>Not able to figure it out, any pointers?</p>

tomarv2
<p>No, this was a very limited system which is why PodSecurityPolicies were added in 1.8 to be a far more flexible version of the same idea.</p>
