custom-ca-cert Secret. If your values file still sets global.caBundle, read Migrate from global.caBundle first.How it works
You create one optional Kubernetes Secret namedcustom-ca-cert. Each key in the Secret holds one CA certificate file.
When a pod starts, an init container named ca-builder does these steps:
- It copies the trust store of the image (
/etc/ssl/certs/ca-certificates.crt) to a temporary volume. - It then adds every certificate from the Secret to that copy.
- The application container mounts the merged file in place of the original.
SSL_CERT_FILE, REQUESTS_CA_BUNDLE, and GIT_SSL_CAINFO variables to the merged file. Python and Git then use it.
If the Secret does not exist, the pod starts and uses the trust store of the image without changes.
What the chart covers
The chart addsca-builder to these deployments when they are enabled:
qodo-engine-indexerqodo-engine-pr-kn-consumerqodo-engine-retrieverqodo-gitqodo-git-event-consumerqodo-gitwayqodo-litegitqodo-platformqodo-pr-agent-agenticqodo-agent-runtime-qarqodo-user-to-allowed-repos-consumerqodo-zitadel
qodo-sync-installations CronJob.
The onboarding release CronJob (qodo-platform-release-onboarding-candidates) needs a prepared CA bundle for its certificate-file mount. Some earlier packages omit its ca-builder initializer.
If its Pod reports a mount error for custom-ca-bundle at /etc/ssl/certs/ca-certificates.crt, contact Qodo for help. Include your package version and the error text. A package without this initializer needs a corrected chart.
The chart does not cover these workloads:
- The analytics and health-probe sidecar containers in
qodo-git. - The bundled AI gateway, also called the LLM gateway (
qodo-litellm, Helm keylitellm).
Prerequisites
Complete these steps before installing or upgrading the Helm chart. Your Kubernetes credentials must permit Secret updates and Qodo Deployment restarts in the release namespace. Verification also needs Pod logs and exec access.Prepare the certificate files
Each file must be in PEM format. A PEM file is text. It starts with-----BEGIN CERTIFICATE-----.
Check the PEM header
-----BEGIN CERTIFICATE-----.Check that the file is a valid certificate
Convert DER to PEM
.crt or .cer file can be PEM or DER. Always do step 1 or step 2 to check.
Create the Secret
Select the namespace
Create the Secret from your CA files
- Single CA
- CA chain
Install or upgrade
Run your normalhelm upgrade --install command. You do not set a Helm value for this feature. The chart finds the Secret by name.
If your pods already use this chart and you create the Secret later, restart them before verification. Existing pods keep their startup bundle. For more information, see Add or rotate certificates.
Verify the setup
Read the init container log
No custom certs found, using system bundle only.Check the Secret keys
Make an HTTPS call to your private endpoint
qodo-platform image includes python3.https://git.example.com with your private endpoint. An HTTP response, including 401 or 403, confirms that TLS verification completed. Authentication or authorization may still be required. Certificate, DNS, and timeout failures remain errors.Add or rotate certificates
Kubernetes can refresh mounted Secret files, butca-builder creates a separate trust bundle only at pod startup. Restart Qodo Deployments after updating the Secret. For more information, see Using Secrets as files from a Pod.
Update the Secret
Remove retired CA keys, if applicable
kubectl describe secret.Applying a manifest does not remove keys that were created outside its apply history. For a manually managed Secret, remove any obsolete key explicitly.old-ca.pem with an existing retired key. Remove obsolete certificate blocks from retained PEM files too.Select the installed Qodo instance
Restart the Deployments
Wait for the rollout
qodo-sync-installations Pod reads the updated Secret at startup. An active sync Job does not need a restart when you add a CA.
New onboarding release Pods (qodo-platform-release-onboarding-candidates) read the Secret at startup when their package includes ca-builder. Running Pods keep their startup CA bundle.
Handle a running repository sync
A sync Job that is already running keeps the certificates it had at startup. Wait for it to finish. This is the safe choice.List the sync Jobs
Wait for the active Job to complete
qodo-sync-installations- Job with a nonzero ACTIVE count. If there is no active Job, continue.Migrate from global.caBundle
Earlier chart versions usedglobal.caBundle. It held a full PEM bundle in your values file and replaced the trust store. The chart no longer reads this key.
If your values file still sets global.caBundle, Helm stops with an error that tells you to migrate. This is by design. It prevents a silent loss of trust.
Select the release namespace
Create the Secret
global.caBundle from every values file, overlay, or Helm parameter. Remove the key even if its value is empty.helm upgrade --install again.global.ingress.caBundle, delete it too. The chart ignores this key.
GitOps and external secrets
The chart does not create thecustom-ca-cert Secret. Create it outside the chart.
- Argo CD or Flux: Apply the Secret from your own source of truth, or create it with
kubectl. Do not put the certificates in the chart values. - External Secrets Operator: Make the
ExternalSecretcreate a Secret namedcustom-ca-certin the release namespace. Each key must hold one PEM certificate.
Configure pod security settings for OpenShift
No OpenShift-specific setting is required for this feature. Setglobal.podSecurityContext as your cluster requires. The ca-builder init container uses the same pod settings as the application container. For more information, see Deploy Qodo using Helm.
Troubleshooting
A pod is stuck in the Init state
A pod is stuck in the Init state
Select the affected Pod
Read the init container log
Read the pod events
Permission denied, inspect the volume mounts and cluster-approved pod security settings. Do not assume a fixed UID or fsGroup is required. On OpenShift, use IDs permitted by the namespace security policy.Calls to the private endpoint still fail
Calls to the private endpoint still fail
- The file is DER and not PEM. Do the checks in Prepare the certificate files.
- The Secret is in the wrong namespace. The Secret and the release must be in the same namespace.
- The pods did not restart. Follow Add or rotate certificates to select and restart your installed instance.
- The Secret does not hold the full chain. Add the intermediate certificates as extra keys.
- The call comes from a workload that the chart does not cover, such as the
qodo-gitsidecar containers or the bundled LLM gateway.
Helm still reports global.caBundle after removal
Helm still reports global.caBundle after removal
--set parameter. If you use --reuse-values, stored release values can restore the removed key. Supply the complete current base and customer values when migrating, while preserving existing Secret references.Related resources
- Deploy Qodo using Helm: Install or upgrade the chart.
- Network and security considerations: Prepare inbound TLS and outbound connectivity.
- Manage Qodo secrets with External Secrets Operator: Reconcile externally managed Secrets.