- Configuration reference: Qodo Helm chart
7.32.0.
How it works
The chart ships an optional values layer,values-backend-tls.yaml. The layer
changes only the five workloads that the Ingress routes to:
Each of these pods gets a
tls-proxy container. The proxy serves TLS on port
8443 and forwards each request to the application over HTTP inside the pod. The request leaves the ingress controller encrypted and is
decrypted only inside the destination pod.
- Existing ports: The HTTP ports stay. Traffic between Qodo services does not change.
- Other workloads: No other workload gets a proxy.
- Headers: The proxy forwards the
Hostheader unchanged and setsX-Forwarded-Proto: https, so sign-on URLs stay correct.
Before you begin
- Chart version: Use Qodo Helm chart
7.32.0or later. - Kubernetes version: Use Kubernetes 1.30 or later.
- Front door: Use the chart Ingress, or your own Ingress or routes. The switch in step 3 does not change OpenShift Routes or Gateway API HTTPRoutes.
- GKE Ingress: Backend TLS is not supported with the GKE (GCE) ingress controller and the
values-gke.yamllayer. The chart refuses the switch in step 3 for that combination. - Ingress controller: Confirm with your platform team which setting makes your controller use TLS to the backend, and which certificate names it checks.
- Chart access: Authenticate to the chart registry, download the matching base values, and set
QODO_CHART_VERSION. For more information, see Where the chart comes from.
Step 1: Create the certificate Secret
The proxies read their certificate from a TLS Secret namedqodo-backend-tls
in the Qodo namespace. One certificate serves all five workloads. Include the
names that your ingress controller checks. If your controller verifies the
backend certificate, it must also trust the issuing certificate authority.
Option 1: Use cert-manager
With cert-manager, request the certificate from your issuer. Replace the
namespace and the issuer:
qodo-backend-tls-certificate.yaml
Create the Secret before step 2. If the Secret is missing, the new pods do
not start. The pods that already run continue to serve.
Step 2: Add the TLS proxy
1
Download the layer for your chart version
2
Add the layer after onprem-base.yaml and before your customer values
3
Check the result before you continue
- Deployments: Each Deployment is fully ready and lists a
tls-proxycontainer. - Services: Each Service shows port
8443.
4
If a pod does not become ready, read the log of its proxy
A missing or invalid certificate is reported there:
Step 3: Switch the Ingress to the HTTPS ports
1
Configure the ingress values
Add the switch and your controller’s re-encrypt setting to your customer
values in the same change. The switch alone does not make the controller use
TLS.Download The example uses the VMware NSX Container Plugin annotations. NSX requires
ingress-backend-tls-values.yaml,
or add its content to my-values.yaml:ingress-backend-tls-values.yaml
kubernetes.io/ingress.allow-http: "false" with reencrypt. For more
information, see Ingress in the NSX Container Plugin documentation.For ingress-nginx, use nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
instead. For more information, see the ingress-nginx annotations.
Keep the annotations that your installation already uses.2
Apply the Helm configuration
Run the same
helm upgrade command again, with this file after your customer
values if you keep it separate. Only the Ingress changes. No pod restarts.3
Confirm that every backend of the Ingress now uses port 8443
- Missing layer: A routed Service has no
httpsport, because the layer is not in the command. - No chart Ingress:
global.ingress.enabledisfalse. If you manage your own Ingress or routes, do steps 1 and 2 only and point your routes at port8443of each Service.
Renew the certificate
Update theqodo-backend-tls Secret with the new certificate and key.
cert-manager does this automatically. The proxies load the new certificate
from the Secret. A pod restart is not necessary.
Use a different proxy
The chart needs only one thing from the pod: a process that serves TLS on thehttps port of the Service. The proxy that ships with the layer is Envoy. To
use another proxy, override the tls-proxy sidecar (image and arguments) and
its tls-proxy ConfigMap for each of the five workloads in your customer
values. Your proxy must do the same as the one that ships:
- Host header: Forward the
Hostheader unchanged. - Forwarded headers: Set
X-Forwarded-Proto: httpsand append the caller’s address toX-Forwarded-For. Requests through the proxy reach the application from inside the pod, as local calls do. The application uses these headers to tell them apart. - Agent runtime: Allow WebSocket upgrades, set no request timeout, and answer
403for/v1/health/drain. - Platform: Allow requests of up to one hour.
- Kubernetes: Define startup, liveness, and readiness probes, and resource limits.
- Image registry: The chart applies
global.imageProxyPrefixto the proxy image, as it does to every image. Make your proxy image available through that registry.
values-backend-tls.yaml lists the same rules and
the per-workload settings.
Limits
- Readiness: A pod is ready only when its proxy is ready. If the certificate is not valid, the new pods do not become ready and the rollout stops. The pods that already run continue to serve.
- Long requests: When a platform pod stops, requests through the proxy that still run after 60 seconds are cut.
- gRPC: The proxy forwards requests to the application over HTTP/1.1. A native gRPC client cannot call the sign-on API through the proxy.
- Scope: Backend TLS covers the connection from the ingress controller to the five routed workloads. Traffic between Qodo services inside the cluster stays HTTP.
Roll back
- Ingress only: Remove the values from step 3 and upgrade again. The Ingress returns to the HTTP ports. No pod restarts.
- Everything: Also remove
values-backend-tls.yamlfrom the command and upgrade again. The five workloads restart without the proxy.