ode class=language-bash data-expandlinks=true data-repo=istio>$ kubectl apply -f samples/curl/curl.yaml</code></pre><p>Since the <code>curl</code> pod is using a different service account, it will not have access the <code>productpage</code> service:</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl exec deploy/curl -- curl -s &#34;http://productpage:9080/productpage&#34;
command terminated with exit code 56</code></pre><h2 id=enforce-layer-7-authorization-policy>Enforce Laye