Skip to content

redhat-ai-dev/ai-lab-helm-charts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Software Templates Helm Charts

This project aims to convert the AI Software Templates functionality into helm charts. Therefore, it aims to reproduce the flow of AI Software Templates without the usage of RHDH.

Available Helm Charts

At the moment one template has helm chart support and this is the chatbot application template. The chatbot helm chart can be found here.

In addition the helm chart for the application, there are also two helm charts for setting up OpenShift Pipelines detailed below.

Gitops

The gitops component, handled by ArgoCD for the RHDH case, is replaced by a Kubernetes Job created by the Helm chart, where this Job:

  • Creates the GitHub repository for the application.
  • Copies the application source code into the new repository.
  • Copies the Tekton Pipelines As Code PipelineRun/Pipeline/Task that build new images for the application as pull requests are merged and updates the Deployment of the application with the new version of the image.
  • Commits these changes and pushes the commit to the preferred branch of the new repository.

The source code is here.

OpenShift Pipelines

For OpenShift Pipelines configuration the two Helm charts provided are:

  • The Pipeline Install Helm Chart that makes Cluster Administrative level changes to OpenShift Pipelines to make sure that:
    • OpenShift Pipelines Operator is installed.
    • The correct Tekton Pipelines features are configured for our purposes.
    • The Pipelines As Code component is set up with the requisite credentials to process GitHub events for you GitHub Application.
  • The Pipeline Setup Helm Chart that makes the User/Tenant changes in your application Namespace:
    • The Pipelines As Code PipelinesRuns in your Namespace have the requisite credentials to push your application's image to your Quay repository.
    • The Gitops component has the requisite credentials to interact with the GitHub repository for your application.

The chatbot-ai-sample helm chart mainly uses the tekton pipelines under rhdh-pipelines repo. The only customized resources used for the helm chart case are:

Testing with a Custom Helm Repository

To test your updates by importing the ai-lab-helm-charts fork as a custom Helm chart repository, you can follow the instructions here

Release Process

The ai-lab-helm-charts are created on demand.

  • A tag should be created with the version of the release as the name. ai-lab-helmcharts follows the v{major}.{minor}.{bugfix} format (e.g v0.1.0).
  • Before proceeding, make sure that all the 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.
  • After the new release is published, the updated Helm packages will be pinned on the release.

About

AI Software Templates Helm Charts Repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •