How do I disable unencrypted traffic after migrating?
To disable unencrypted traffic, update the MeshTLS policy from permissive to strict:
echo "apiVersion: kuma.io/v1alpha1
kind: MeshTLS
metadata:
name: kv
namespace: kong-mesh-demo-migration
labels:
kuma.io/mesh: default
spec:
targetRef:
kind: Dataplane
labels:
app: kv
rules:
- default:
mode: Strict" | kubectl apply -f -
The Service can now only receive encrypted traffic.