The Backend of LuckTrainingRoadmaps

Mutual TLS Service Mesh (Chapter 24h)

Mutual TLS Service Mesh (Chapter 24h) An architecture diagram generated by Archify. NTP Sync Check · clock skew < 5 min gate · Architecture component NTP Sync Check clock skew < 5 min gate cert-manager · ClusterIssuer + CA cert · cert-manager + trust-manager PKI cert-manager ClusterIssuer + CA cert trust-manager · CA bundle federation · cert-manager + trust-manager PKI trust-manager CA bundle federation SPIRE Server · SPIFFE workload identity · SPIRE identity plane SPIRE Server SPIFFE workload identity SPIRE Agent · DaemonSet per node · SPIRE identity plane SPIRE Agent DaemonSet per node Player Service · Go mTLS client · default-deny namespace mesh Player Service Go mTLS client Cert Reloader · watch + SIGHUP rotate · default-deny namespace mesh Cert Reloader watch + SIGHUP rotate Wallet Service · mTLS annotated · default-deny namespace mesh Wallet Service mTLS annotated Network Policies · default-deny + allowlist · default-deny namespace mesh Network Policies default-deny + allowlist Compliance Reporter · mTLS to regulator · Architecture component Compliance Reporter mTLS to regulator clock skew gate CA cert issuance CA bundle federation workload registration SPIFFE X.509-SVID mTLS mutual auth default-deny + allowlist enforced SIGHUP on cert rotation signed regulator webhook cert-manager + trust-manager PKI SPIRE identity plane default-deny namespace mesh Legend Backend Security External

Zero-Trust by Default

  • • Default-deny network policies apply before mTLS is enabled, avoiding a policy gap
  • • cert-manager issues a per-service Certificate via a ClusterIssuer
  • • NTP sync must pass on every node before certificates are issued

Rotation Without Downtime

  • • trust-manager federates CA bundles across namespaces
  • • A Python sidecar watches the cert secret and sends SIGHUP on rotation
  • • Rotation chaos testing measures zero-downtime under sustained load

Workload Identity & Compliance

  • • SPIRE issues a SPIFFE X.509-SVID to each registered workload
  • • The compliance reporter uses mutual TLS to a regulatory endpoint
  • • Controls map to PCI-DSS 4.0 Requirement 4.2.1