The G2p Sandbox cookbook chart is extended from the payment hub base chart ph-ee-engine. This chart is created by setting up the payment hub with government use cases( eg: G2P, P2G) defaults.
The first step is to prepare the chart by updating all dependencies. after updating the dependencies, the chart can either be directly deployed or packaged and uploaded to a repo(helm repo or simple object/file storage) for public access.
The uploaded chart is easy to manage and can be reused for multiple users or Circle CI HELM Orb.
The following shell commands are used to prepare the chart
cd ph-ee-env-template
helm dep up helm/g2p-sandbox
helm package helm/g2p-sandbox
helm repo index .
Now the chart is ready for uploading/ installation
For installing using the helm command do the following
use upload commands here to upload the packaged helm chart to shared file/ object storage.
the files that need to be uploaded are : index.yaml and ph-ee-g2psandbox-0.0.0.tgz
Extending g2pSandbox chart unreleased or developer version
To add specific configurations as per the requirement/org-specific details, the developer version of the chart can be extended.
To do this a HELM chart needs to be created which extends the ph-ee-g2psandbox-0.0.0with a values.yaml file which can overwrite or add properties that get applied in the base chart.