- Log in to your adminvm
- If the adminvm is not running, reach out to the security team to file an exception request
This script performs a BEST EFFORT migration of your current cloud-automation deployment to Helm. Please be aware of the following:
- This migration may not cover all edge cases or custom configurations
- After migration, you MUST thoroughly test ALL Gen3 functionality
- This script comes WITHOUT ANY GUARANTEES or warranties
- Always backup your current deployment before proceeding
- Review the generated Helm values carefully before deployment
We need your help! Please verify all edge-cases for all your services. If things are not working as expected, please raise PRs so we can collectively make this migration script as comprehensive as possible.
The migration script will automatically create:
- A
values.yamlfile that can be checked into git - Secrets in AWS Secrets Manager
To execute the migration in your environment:
cd cloud-automation
git checkout master
git pull
pip3 install boto3
python3 helm-migration-script/migrate-to-helm.pyThis will generate a values.yaml file in the current folder. The actual filename will contain your hostname found in Gen3Secrets/00configmap.yaml, e.g. aoliu.planx-pla.net, so the filename is aoliu.planx-pla.net-values.yaml. Use scp to copy this file to your local machine for the next steps ("Deployment Process" below).
Example:
scp pauline@10.128.7.28:cloud-automation/pauline.planx-pla.net-values.yaml ~/Downloads/values.yaml-
git clonethis repository, and create a new local branch before making the following changes. -
Copy the "copy-me" folder into the "dev-environments" folder and rename it to match your environment name:
cd gen3-gitops-dev cp -r copy-me devplanetv2/dev-environments/<your-env>Rename the folder to match your env name
-
Update the copied values.yaml file in the root of your new environment folder (not the one in values/values.yaml). Update the following fields:
-
Copy your migration values.yaml file from the migration step to:
gen3-gitops-dev/dev-environments/<your-env>/values/values.yaml -
Create a pull request with your changes
-
Wait for merge - Once your PR is merged, the application will be automatically created using ArgoCD
After deployment, ensure you:
- Test all Gen3 functionality thoroughly
- Monitor your services for any issues
- Document any problems or edge cases you encounter
- Contribute back to the migration script if you find gaps



