This project is a collection of helm charts, insipired by the AI Software Templates.
The gitops component, handled by ArgoCD for the RHDH case, is replaced by a Kubernetes Job created by the Helm chart, where this Job:
PipelineRun
that builds new images for the application after pull requests merge or commits are pushed directly to the main
branch,
and then updates the Deployment of the application with the new version of the image by directly patching the Deployment via oc
, vs. ArgoCD using gitops to patch the Deployment.The source code is here.
For OpenShift Pipelines configuration the two Helm charts provided are:
The ai-lab helm charts exclusively uses tekton pipelines and tasks under rhdh-pipelines repo. The only customized resource used for the helm chart case is:
push
events received from the github app webhook.To test your updates by importing the ai-lab-helm-charts
fork as a custom Helm chart repository, you can follow the instructions here
The ai-lab-helm-charts are created on demand.
tag
should be created with the version of the release as the name. ai-lab-helm-charts
follows the v{major}.{minor}.{bugfix} format (e.g v0.1.0).version
fields within Chart.yaml
have this tag as the value. For example in the case where the tag is v0.1.0
, the version
should be 0.1.0
.