Created
September 7, 2019 23:15
-
-
Save askmeegs/f3bdb0759f21ba4e45618fb443c0434a to your computer and use it in GitHub Desktop.
mtls-some-svc.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: "authentication.istio.io/v1alpha1" | |
| kind: "Policy" | |
| metadata: | |
| name: "adservice" | |
| namespace: onlineboutique | |
| spec: | |
| targets: | |
| - name: adservice | |
| peers: | |
| - mtls: {} | |
| --- | |
| apiVersion: "networking.istio.io/v1alpha3" | |
| kind: "DestinationRule" | |
| metadata: | |
| name: "adservice" | |
| namespace: onlineboutique | |
| spec: | |
| host: "adservice.onlineboutique.svc.cluster.local" | |
| trafficPolicy: | |
| tls: | |
| mode: ISTIO_MUTUAL | |
| --- | |
| apiVersion: "authentication.istio.io/v1alpha1" | |
| kind: "Policy" | |
| metadata: | |
| name: "recommendationsservice" | |
| namespace: onlineboutique | |
| spec: | |
| targets: | |
| - name: recommendationsservice | |
| peers: | |
| - mtls: {} | |
| --- | |
| apiVersion: "networking.istio.io/v1alpha3" | |
| kind: "DestinationRule" | |
| metadata: | |
| name: "recommendationsservice" | |
| namespace: onlineboutique | |
| spec: | |
| host: "recommendationsservice.onlineboutique.svc.cluster.local" | |
| trafficPolicy: | |
| tls: | |
| mode: ISTIO_MUTUAL | |
| --- | |
| apiVersion: "authentication.istio.io/v1alpha1" | |
| kind: "Policy" | |
| metadata: | |
| name: "productcatalogservice" | |
| namespace: onlineboutique | |
| spec: | |
| targets: | |
| - name: productcatalogservice | |
| peers: | |
| - mtls: {} | |
| --- | |
| apiVersion: "networking.istio.io/v1alpha3" | |
| kind: "DestinationRule" | |
| metadata: | |
| name: "productcatalogservice" | |
| namespace: onlineboutique | |
| spec: | |
| host: "productcatalogservice.onlineboutique.svc.cluster.local" | |
| trafficPolicy: | |
| tls: | |
| mode: ISTIO_MUTUAL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment