# Enable mTLS in travel-agency
kubectl apply -f <(curl -L https://git.io/fjKnR)
# Delete mTLS in travel-agency
kubectl delete -f <(curl -L https://git.io/fjKnR)
Enable mutual TLS on travel-agency services.
All services within namespace are TLS protected by Istio
# Enable MeshPolicy
kubectl apply -f <(curl -L https://git.io/fjKnY)
# Disable mTLS for ingress
kubectl apply -f <(curl -L https://git.io/JeVtc)
# Delete MeshPolicy
kubectl delete -f <(curl -L https://git.io/fjKnY)
# Enable mTLS for ingress
kubectl delete -f <(curl -L https://git.io/JeVtc)
Apply mutual TLS in all namespaces
All namespaces protected with mTLS
Congratulations !