Compare commits

...

1 Commits

2 changed files with 17 additions and 0 deletions

View File

@ -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/*

View File

@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../base
- deny-token-endpoints.yaml
patches:
- path: istio-config.yaml