Skip to content

Commit 60589a7

Browse files
committed
adding two files for mtls demo
1 parent 78d49cc commit 60589a7

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: "authentication.istio.io/v1alpha1"
2+
kind: "Policy"
3+
metadata:
4+
name: "default"
5+
namespace: "tutorial"
6+
spec:
7+
peers:
8+
- mtls: {}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: "networking.istio.io/v1alpha3"
2+
kind: "DestinationRule"
3+
metadata:
4+
name: "default"
5+
namespace: "tutorial"
6+
spec:
7+
host: "*.tutorial.svc.cluster.local"
8+
trafficPolicy:
9+
tls:
10+
mode: ISTIO_MUTUAL

0 commit comments

Comments
 (0)