kind: AuthorizationPolicy
metadata:
 name: allow-all
 namespace: foo
spec:
 rules:
 - &lbrace;}
</code></pre><table class=message-fields><thead><tr><th>Field</th><th>Type</th><th>Description</th><th>Required</th></tr></thead><tbody><tr id=AuthorizationPolicy-selector><td><code>selector</code></td><td><code><a href=/v1.13/zh/docs/reference/config/type/v1beta1/workload-selector.html#WorkloadSelector>WorkloadSelector</a></code></td><td><p>Optional. Workload selector decides where to apply the authorization pol