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
-
Configure .Values.resourcesInit.enabled to false.
-
Configure .Values.appResourcesPVC.enabled to true.
-
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.
-
Configure .Values.appResourcesPVC section to set the storage class name and selector configuration to match with the resources volume settings.
-
Perform a helm upgrade with the updated values configuration.