Skip to content

Instantly share code, notes, and snippets.

@bharatmicrosystems
Created May 6, 2020 20:34
Show Gist options
  • Save bharatmicrosystems/b51c3b906f37c9378bdf15a3372b6b3d to your computer and use it in GitHub Desktop.
Save bharatmicrosystems/b51c3b906f37c9378bdf15a3372b6b3d to your computer and use it in GitHub Desktop.
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: tester
namespace: default
spec:
selector:
matchLabels:
app: products
action: ALLOW
rules:
- to:
- operation:
paths: ["/test/*", "*/info"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment