Repository navigation
[FEAT] compute: optional PSC path to the GKE ct-server - #11
Merged
Merged
Conversation
enable_ct_server_psc creates a service attachment (ACCEPT_MANUAL, this project only) on ct-server's read ILB plus an endpoint in this VPC, and derives CT_SOURCE_URL from it, so ct-server no longer has to be public. Off by default; no image change.
…used knobs Removes enable_ct_server_psc, psc_region, ct_server_read_port and the endpoint IP output; mainnet runs the VM in the GKE region, so global access is not needed.
… cluster The service attachment, its NAT subnet and allow list are now published by the cofhe generator next to ct-server's read ILB. This module takes the attachment URL (ct_server_service_attachment), derives the endpoint region from it, and drops gke_network, psc_region, psc_extra_consumer_projects, psc_nat_subnet_cidr and ct_server_read_forwarding_rule.
roeezolantz
marked this pull request as ready for review
October 20, 2026 11:02
liorbond
approved these changes
Oct 20, 2026
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.
Lets teecryptor reach the GKE ct-server over Private Service Connect, so ct-server's public ingress can be removed. VPC peering is not an option: both VPCs use 10.0.0.0/x.
What changed
ct_server_service_attachment(URL, default empty = off) creates only the consumer side: subnet, internal IP, PSC endpointregion(testnet)CT_SOURCE_URLis derived from the endpoint; a precondition requires exactly one ofct_source_url/ the attachment URLTest
terraform validate+fmt; URL check and region derivation evaluated offline. Merge order: FhenixProtocol/k8s_cluster_gitops#4 (NAT subnet) → FhenixProtocol/cofhe#1097 → #11 → FhenixProtocol/gitops#60 → FhenixProtocol/cofhe#1098; each applied testnet first.Summary by CodeRabbit
/GetStoredCtendpoint and configurable consumer subnet range.