| Name | Version |
|---|---|
| terraform | > 1.3 |
| cloudflare | ~> 5.0 |
| Name | Version |
|---|---|
| cloudflare | ~> 5.0 |
| sops | n/a |
No modules.
No inputs.
| Name | Description |
|---|---|
| mcp_gateway_service_token_client_id | CF-Access-Client-Id for MCP gateway clients |
| mcp_gateway_service_token_client_secret | CF-Access-Client-Secret for MCP gateway clients |
| tunnel_ids | Cloudflare Tunnel IDs for reference in kustomize-cluster ConfigMaps |
This root manages the Cloudflare side of kubectl connectivity:
cf-warp.tfdefines the GitHub identity provider andmakeitworkcloud:adminsAccess group.cf-access-k3s.tfapplies that group to the migration fallback atk3s.makeitwork.cloud.cf-tunnels.tfowns theapiandk3sCNAMEs.- The
ClusterTunnelandTunnelBindingmanifests inkustomize-cluster/workloads/kubectl-tunnelown their routes with DNS updates disabled.
Normal kubectl access connects directly to https://api.makeitwork.cloud and
relies on a Dex-issued OIDC token plus Kubernetes RBAC. Cloudflare Access still
protects the legacy TCP route at k3s.makeitwork.cloud during migration. The
canonical kubeconfig and kubelogin procedure lives in the
kustomize-cluster README.
Do not store kubeconfigs, Access tokens, client certificates, or Cloudflare
credentials in this repository.
This root owns only the bootstrap tunnel DNS required to reach the Kubernetes
API before cluster workloads are available. TunnelBinding owns workload
tunnel DNS, including the MCP gateway endpoints. Do not add a workload hostname
to this OpenTofu root.