views</code> workload through <code>GET</code> methods:</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl apply -f - &lt;&lt;EOF
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: &#34;reviews-viewer&#34;
  namespace: default
spec:
  selector:
    matchLabels:
      app: reviews
  action: ALLOW
  rules:
  - from:
    - source:
        principals: [&#34;cluster.local/ns/default/sa/bookinfo-productpage&#34;]
    to:
    - operation:
        method