-
Notifications
You must be signed in to change notification settings - Fork 349
Open
Labels
kind/designDesign doc or relatedDesign doc or relatedkind/featureNew featureNew featuretriage/acceptedThe issue was reviewed and is complete enough to start working on itThe issue was reviewed and is complete enough to start working on it
Milestone
Description
Description
While working on the migration from mesh.mTLS
to MeshIdentity
, I discovered an issue with transitioning from one SPIFFE ID to another.
Let’s assume we have two zones: zone-client
and zone-server
. A client runs in zone-client, and a server runs in zone-server.
- Both zone-client and zone-server use
mesh.mTLS
, and the MeshService identity is based onkuma.io/service
. - Both zones switch to MeshIdentity.
- The client in zone-client can no longer communicate with the server in zone-server.
- The MeshService of the server in zone-server is updated with a SPIFFE ID.
- That MeshService is synced to zone-client.
- The client’s configuration is updated with a SAN based on the new SPIFFE ID.
- Traffic resumes and works correctly.
This illustrates a case where both zones begin using the new identity, but the server presents itself as spiffe://domain.zone-server.mesh.local/ns/server/sa/server
while the client cannot yet verify this SAN, since the corresponding MeshService update has not propagated.
Metadata
Metadata
Assignees
Labels
kind/designDesign doc or relatedDesign doc or relatedkind/featureNew featureNew featuretriage/acceptedThe issue was reviewed and is complete enough to start working on itThe issue was reviewed and is complete enough to start working on it