initial commit

This commit is contained in:
ston1th 2019-08-03 22:31:25 +02:00
commit 0e6be50e37
23 changed files with 1069 additions and 0 deletions

View 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 ]