I am looking for any code example that deploys Helm chart without via CLI call. The reason behind this is:
- My company got couple existing pipelines written with AWS CodePipeline / CodeBuild / CodeDeploy. They don't like to investigate more time on re-writing all pipelines.
- My company does not have any plan to maintain extra instance(s) just for deployment.
- AWS CodePipeline could trigger Lambda, and theoretically I could write some Python code to do the job if Helm provides Python client.
Currently I steal Lambda function from this:
https://github.com/aws-samples/aws-kube-codesuite
Whereas this does not provide same level features as Helm does. We have to provide our release-name system, template system, etc. In other words, it functions poorly if I have big change on the manifest, and does not handle the first time deployment (means deploying manifest to an empty K8S cluster) Also we use Github, although not really relevant.
For python client of Helm chart, the best I could find is pyhelm listed on pip. But it does not have sample code for calling deployment, and from some user group / forum feedback the installation process is painful. Somebody also points to azure/draft and another repo but I have no clue on how to come out a solid example that only use Python to deploy Helm chart.
Please let me know where I miss. Thanks.