Skip to content

Commit

Permalink
adding two files for mtls demo
Browse files Browse the repository at this point in the history
  • Loading branch information
burrsutter committed Aug 27, 2019
1 parent 78d49cc commit 60589a7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions istiofiles/authentication-enable-tls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: "authentication.istio.io/v1alpha1"
kind: "Policy"
metadata:
name: "default"
namespace: "tutorial"
spec:
peers:
- mtls: {}
10 changes: 10 additions & 0 deletions istiofiles/destination-rule-tls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: "networking.istio.io/v1alpha3"
kind: "DestinationRule"
metadata:
name: "default"
namespace: "tutorial"
spec:
host: "*.tutorial.svc.cluster.local"
trafficPolicy:
tls:
mode: ISTIO_MUTUAL

0 comments on commit 60589a7

Please sign in to comment.