Configuring Init Container command to download resources

The init container can be configured to download the required resources from secure and trusted private repositories accessible to the cluster using the command configuration.

Note: This option should be used only after careful considerations of the cluster's security.
The following is a sample configuration for the init container command:
image:
    # repository for the init container image
    repository: registry.access.redhat.com/ubi8   
    # name for the init container image
    name: ubi-minimal:8.6
    # tag for the init container image. Optional if digest is provided.
    tag: 8.6
    # digest for the init container image. Optional if tag is provided.
    digest:
    # pullPolicy for the init container image
    pullPolicy: "IfNotPresent"
  # command to execute for the init container
  command: [‘sh’, ‘-c’, “curl https:<private repository>/<path>/db2jcc4.jar -O /ibm/resources/db2jcc4.jar | curl https:<private repository>/<path>/unrestrictedpolicyfiles.zip -O /ibm/resources/ unrestrictedpolicyfiles.zip”]