Switching from Init Container option to Resources Persistent Volumes

You can switch the configuration from providing external resources using the init container to using the resources persistent volume.

About this task

Perform the following steps:

Procedure

  1. Configure .Values.resourcesInit.enabled to false.
  2. Configure .Values.appResourcesPVC.enabled to true.
  3. Create a persistent volume for resources and copy all the required resource files, such as the db driver jar, jce policy files and so on, to the volume mount location.
    Note: If you are installing or upgrading to Sterling B2B Integrator v6.1.2.1 or above, you don't need to configure and provide Java Cryptography Extension (JCE) policy file details.
  4. Configure .Values.appResourcesPVC section to set the storage class name and selector configuration to match with the resources volume settings.
  5. Perform a helm upgrade with the updated values configuration.