Routing
Which paths the ingress sends to which Corfedo Service on Kubernetes, the host names, the HTTPS certificate, the trusted proxy, the NetworkPolicies and the outside services an installation calls.
Which paths go to which Service
ingress.enabled creates one Ingress with these rules. With your own load balancer or gateway, send the same paths to the same Services on port 8080. Its health checks must reach the pods directly, not through the public route: /health/ready and /health/live answer 404 to a request that a trusted proxy forwarded.
| Path | Service |
|---|---|
/oauth, /.well-known/oauth-authorization-server, /.well-known/openid-configuration | corfedo-issuer |
/api | corfedo-api |
/mcp, /.well-known/oauth-protected-resource | corfedo-mcp |
/scim, which your identity provider calls | corfedo-scim |
/webhooks, which Slack and Microsoft Teams call | corfedo-webhooks |
| Everything else | corfedo-web |
The Services' names start with the release name, here corfedo.
hosting.mode | Host names |
|---|---|
SingleTenant | The host of hosting.publicOrigin |
MultiTenant | The host of hosting.finderOrigin and every name one label below hosting.baseDomain |
With keycloak.enabled, the Ingress also sends keycloak.host to Keycloak.
HTTPS certificate
The public entry holds the certificate for the host names above, not Corfedo. Add the values of your case to values.yaml.
cert-manager issues the certificate into the Secret corfedo-tls and renews it. Replace letsencrypt with your ACME ClusterIssuer, which needs an approval policy.
ingress:
annotations:
cert-manager.io/cluster-issuer: letsencrypt
tls:
- secretName: corfedo-tlsTrusted proxy
TLS ends at the public entry, which forwards plain HTTP. Set hosting.trustedProxies to the networks the forwarded requests come from. Corfedo accepts a forwarded client address and scheme only from them, see Public entry.
NetworkPolicies
networkPolicy.ingressFrom names the peers allowed to send public requests to Corfedo, your ingress controller's pods or the load balancer's subnets when it sends to the pods directly, and is required while networkPolicy.enabled is on, the default. The policies limit inbound traffic only, and only when the cluster's network plugin enforces NetworkPolicy.
Outside services
To restrict outbound traffic with egress policies or firewall rules, allow the cluster's DNS, the traffic between the release's own pods and these services. Corfedo reaches them over HTTPS, except PostgreSQL.
- Your PostgreSQL server, on
database.port, and onkeycloak.database.portwhen the bundled Keycloak uses a database outside the release. - The bucket. With the AWS credential chain, also the AWS credential endpoints, such as AWS STS for IAM roles for service accounts.
- Your code hosts.
- Your identity provider.
- The AI providers you add, and the identity endpoints of Azure and Google credentials, by default
login.microsoftonline.comandoauth2.googleapis.com. clients.corfedo.aifor the Corfedo CLI, and the address each coding agent gives for its description, when they sign in.- Advisory data at
storage.googleapis.comandcwe.mitre.org. - Slack. With Socket Mode, also a secure WebSocket to an address Slack returns, which an HTTPS-only proxy or filter must allow.
- Microsoft Teams, with Microsoft's sign-in and the Bot Framework's signing keys.
Data handling lists what each outside service receives.
Prepare the cluster
What a Kubernetes cluster provides before you install Corfedo with the Helm chart, from cert-manager and a certificate issuer to the public entry, a bucket and PostgreSQL.
Sizing and search nodes
What search nodes and indexers keep on their volumes on Kubernetes, local NVMe disks on EKS and AKS, and how memory, copies and pools are sized with the Helm chart.