Switching from Resources Persistent Volumes to Init Container option
You can switch the configuration from providing external resources using the resources persistent volumes to using the init container option.
Perform the following steps:
- Build an init container bundled with the required resources, such as the db driver jar, jce policy files and so on. For more information, see Setting up init container for resources.
- Push the init container to the private image registry accessible to the cluster.
- Set .Values.persistentVolumeUserInputs.enabled to false.
- Configure .Values.extraInitContainers with required image details from the init container image.
- Perform a helm upgrade with the updated values configuration.
- Discard the resources persistent volumes.