dquo;MeshPolicy”,
and specifies a namespace, in this case, <code>foo</code>. If you don’t specify a namespace value the policy will apply to the default namespace.</p><pre><code class=language-bash data-expandlinks=true>$ kubectl apply -f - &lt;&lt;EOF
apiVersion: &#34;authentication.istio.io/v1alpha1&#34;
kind: &#34;Policy&#34;
metadata:
  name: &#34;default&#34;
  namespace: &#34;foo&#34;
spec:
  peers:
  - mtls: {}
EOF
</code></pre><div><aside class="callout tip"><div class=type><svg class="large-ico