Skip to content

Instantly share code, notes, and snippets.

@peterj
Created June 2, 2021 00:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterj/a23f622a7c04978f92d371d2b5f01a65 to your computer and use it in GitHub Desktop.
Save peterj/a23f622a7c04978f92d371d2b5f01a65 to your computer and use it in GitHub Desktop.
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
name: require-jwt
namespace: default
spec:
selector:
matchLabels:
app: httpbin
action: ALLOW
rules:
- from:
- source:
requestPrincipals: ["*"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment