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

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

Xray

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

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