same effect:</p><pre><code><pre><code class=language-yaml data-expandlinks=true data-repo=istio>apiVersion: &#34;security.istio.io/v1beta1&#34;
kind: &#34;AuthorizationPolicy&#34;
metadata:
  name: block-admin-access
  namespace: istio-system
spec:
  selector:
    matchLabels:
      istio: ingressgateway
  action: DENY
  rules:
  -  to:
    - operation:
        paths: [&#34;/admin&#34;]
        ports: [ &#34;8080&#34; ]
  -  to:
    - operation:
        paths: [&#34;/admin&#34;]
        ports: [ &#34;8443&#