Skip to content

Enable optional internal TLS#136

Merged
yruchin merged 10 commits intomainfrom
internal-tls
Feb 11, 2026
Merged

Enable optional internal TLS#136
yruchin merged 10 commits intomainfrom
internal-tls

Conversation

@yruchin
Copy link
Contributor

@yruchin yruchin commented Feb 10, 2026

This change enables internal TLS encryption (server TLS only, not mTLS) using only namespace-confined resources (no cluster-level controls). It relies on the available of a cert-manager's certificate issuer: ClusterIssuer or Issuer. It issues certificates for each component, loads them into sidecar Envoys and makes the components talk through these sidecars.

This way, the original components are unchanged. What's changed is what endpoints they use to talk to each other. Every single endpoint is now handled by an Envoy sidecar if the internal TLS is enabled.

yruchin and others added 10 commits February 9, 2026 12:41
- Add Envoy proxy sidecars to api, front, and agent components for mTLS
- Create cert-manager Certificate CRDs for automatic certificate provisioning
- Add Envoy ConfigMaps with listener and cluster configurations
- Update services to route through Envoy secure ports when enabled
- Update ConfigMaps to route traffic through local Envoy egress
- Remove director component (deployment, service, configmap, secrets)
- Feature is disabled by default (envoy.enabled: false)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add PostgreSQL deployment, service, PVC, and secrets templates
- Add global imagePullSecrets with per-component override fallback
- Fix OpenShift UID range in values-openshift.yaml
- Remove unused envoy resources and simplify envoy config
- Add cert-manager issuer for mTLS certificates

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yruchin yruchin changed the title internal-tls Enable optional internal TLS Feb 10, 2026
@yruchin yruchin requested a review from dmeatriy February 10, 2026 21:06
@yruchin yruchin marked this pull request as ready for review February 10, 2026 21:06
@yruchin yruchin merged commit 11bc0fb into main Feb 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant