Skip to content

Instantly share code, notes, and snippets.

@lucasponce
Created August 14, 2019 12:07
Show Gist options
  • Save lucasponce/d827c5cb15a9443430ec03b434882656 to your computer and use it in GitHub Desktop.
Save lucasponce/d827c5cb15a9443430ec03b434882656 to your computer and use it in GitHub Desktop.
Example of global MeshPolicy config for Istio
apiVersion: authentication.istio.io/v1alpha1
kind: MeshPolicy
metadata:
name: default
spec:
peers:
- mtls: {}
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: default
namespace: default
spec:
host: "*.local"
trafficPolicy:
tls:
mode: ISTIO_MUTUAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment