Skip to content

Commit e500038

Browse files
committed
fix(auth): fix authorization policy
1 parent 070697d commit e500038

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

manifests/components/ext-authz/authorizationpolicy.yaml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,18 @@ spec:
1111
- operation:
1212
notPaths:
1313
- /metrics
14-
- operation:
15-
notPaths:
16-
- /share/*
17-
- operation:
18-
notPaths:
19-
- /api/shares/*
20-
- operation:
21-
notPaths:
22-
- /static/*
23-
- operation:
24-
notPaths:
14+
- /share/{*}
15+
- /api/shares/{*}
16+
- /static/{*}
2517
- /favicon.ico
26-
- operation:
27-
notPaths:
18+
- /assets/{*}
19+
- /vite.svg
2820
- /manifest.json
21+
- operation:
22+
paths:
23+
- /api/shares/{*}
24+
notMethods:
25+
- GET
2926
---
3027
apiVersion: security.istio.io/v1
3128
kind: AuthorizationPolicy

0 commit comments

Comments
 (0)