Skip to main content
If you use custom CA certificates in your deployment process, such as self-signed certificates, you can add them to env zero’s Self-Hosted Agent. To do so, you can attach certificates using the customCertificates helm value that can be set in the configuration. Its value should be a list of Kubernetes Secret names. Each secret may contain one or more custom certificate files. For instance, you can add your CA file using the following command in your cluster:
Then, in your Helm values file, add the related config:
yaml
Now you can proceed with the agent upgrade/installation.
Node.js scriptsDuring env zero deployment some customers may want to use Node.js scripts.
To make sure your script using the custom certificates, please add the NODE_EXTRA_CA_CERTS environment variable with the value of /etc/ssl/certs/ca-certificates.crt. That file contains all the certificates in our agent’s pod.
Ignore CA CertsSet gitSslNoVerify to true in your helm values to ignore CA certs.

Next steps

For the full customCertificates reference, see its entry in Custom/optional configuration.