Compare commits
1 Commits
master
...
token-endp
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0a740955b1 |
@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: security.istio.io/v1
|
||||||
|
kind: AuthorizationPolicy
|
||||||
|
metadata:
|
||||||
|
name: deny-external-token-endpoints
|
||||||
|
namespace: istio-system
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
istio: ingressgateway
|
||||||
|
action: DENY
|
||||||
|
rules:
|
||||||
|
- to:
|
||||||
|
- operation:
|
||||||
|
paths:
|
||||||
|
- /api/token/user/*
|
||||||
|
- /internal/*
|
||||||
@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
- deny-token-endpoints.yaml
|
||||||
patches:
|
patches:
|
||||||
- path: istio-config.yaml
|
- path: istio-config.yaml
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user