initial commit
This commit is contained in:
commit
0e6be50e37
23 changed files with 1069 additions and 0 deletions
24
testapp/db/istio-deny.yaml
Normal file
24
testapp/db/istio-deny.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
apiVersion: "config.istio.io/v1alpha2"
|
||||
kind: denier
|
||||
metadata:
|
||||
name: deny-testapp-db
|
||||
spec:
|
||||
status:
|
||||
code: 7
|
||||
message: Not allowed
|
||||
---
|
||||
apiVersion: "config.istio.io/v1alpha2"
|
||||
kind: checknothing
|
||||
metadata:
|
||||
name: deny-testapp-db
|
||||
spec:
|
||||
---
|
||||
apiVersion: "config.istio.io/v1alpha2"
|
||||
kind: rule
|
||||
metadata:
|
||||
name: deny-testapp-db
|
||||
spec:
|
||||
match: destination.labels["app"] == "testapp-db"
|
||||
actions:
|
||||
- handler: deny-testapp-db.denier
|
||||
instances: [ deny-testapp-db.checknothing ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue