� httpbin 示例应用程序运行 curl 命令：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl -n my-app run --image=curlimages/curl curl -- /bin/sleep 100d</code></pre><p>应用第一个 Rego 规则并重新启动 OPA Deployment：</p><pre><code class=language-bash data-expandlinks=true data-repo=istio>$ kubectl apply -f - &lt;&lt;EOF
apiVersion: v1
kind: ConfigMap
metadata:
  name: opa-policy
  namespace: opa
data:
  policy.rego: |
    package mypackage.mysubpackage

 