Repository navigation
identity: Secure CSI Driver TCP Connections via Pod Identity - #956
Merged
Merged
Conversation
hajiler
force-pushed
the
managed-tcp
branch
7 times, most recently
from
August 14, 2026 22:31
ac4da29 to
669fed2
Compare
|
/lgtm Seems to do the right thing from what I understand. |
|
/assgin Michael Taufen (@mtaufen) |
| match_typed_subject_alt_names: | ||
| - san_type: URI | ||
| matcher: | ||
| exact: "spiffe://cluster.local/ns/ate-system/sa/ate-api-server" |
Collaborator
There was a problem hiding this comment.
In the near future we are going to have to make the cluster.local part configurable. What sort of matches does Envoy support in its config?
Collaborator
Author
There was a problem hiding this comment.
Envoy supports both an exact suffix and regex match, so I think we can accomodate future configuration changes once they are decided.
hajiler
marked this pull request as ready for review
August 18, 2026 00:13
hajiler
force-pushed
the
managed-tcp
branch
4 times, most recently
from
August 19, 2026 17:30
807fd60 to
b12265a
Compare
hajiler
force-pushed
the
managed-tcp
branch
2 times, most recently
from
August 21, 2026 15:57
9cf58a1 to
85759b5
Compare
CONV=08b81b20-9977-45df-b98e-9e340bc55e2d
Taahir Ahmed (ahmedtd)
approved these changes
Aug 24, 2026
| } | ||
|
|
||
| // Read CA trust bundle on each TLS connection handshake. | ||
| roots, err := getCertPool(paths.caCert) |
Collaborator
There was a problem hiding this comment.
This is fine for now, but we will need to add caching pre-GA.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Secures network-based gRPC connections between the ate-api control plane and CSI driver controller services using mutual TLS (mTLS) backed by Substrate's Pod Identity.
Requests from ate-api to CSI driver controllers occur over the network, as configured via the CSIDriverConfig custom resource. This PR extends the CSIDriverConfig CRD to include a tls configuration section, which leverages
Substrate's Pod Identity certificate infrastructure (managed by podcertcontroller) to secure these
TCP connections using mTLS. Because standard CSI drivers typically communicate over Unix domain sockets, a proxy sidecar (e.g., envoy) is added to the CSI controller deployment to terminate TLS and forward requests to the local CSI socket.
#232