---
updatedAt: 2026-05-21T09:14:56.000Z
agentTools:
  siteIndex: https://docs.jfrog.com/llms.txt
  projectIndex: https://docs.jfrog.com/installation/llms.txt
---

# Custom Init Containers in Helm Installation

Add init containers to JFrog Helm deployments to run pre-startup tasks: configuration, secrets, file system setup.

Init containers run before the main application container starts. In some cases, you need a specialized init process — for example, to check the file system or run a pre-startup test. To add a custom init container, use the `customInitContainers` section in the `values.yaml` file (commented out by default).

**Artifactory**

```yaml
artifactory:
  ## Add custom init containers
  customInitContainers: |
    ## Init containers template goes here ##
```

**Xray**

```yaml
common:
  ## Add custom init containers executed before predefined init containers
  customInitContainersBegin: |
    ## Init containers template goes here ##

    ## Add custom init containers executed after predefined init containers
  customInitContainers: |
    ## Init containers template goes here ##
```

**Distribution**

```yaml
distribution:
  ## Add custom init containers
  customInitContainers: |
    ## Init containers template goes here ##
```

## Related Topics

* [All Products - Customization](all-products-customization)
* [Custom Sidecar Containers in Helm Installations](add-custom-sidecars-containers-in-helm-installations)
* [Custom Volumes in Helm Installation](add-custom-volumes-in-helm-installation)
* [Use Custom Secrets in Helm Installation](use-custom-secrets-in-helm-installation)
* [Install the JFrog Platform Using Helm Chart](install-the-jfrog-platform-using-helm-chart)