You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12
Original file line number
Diff line number
Diff line change
@@ -19,3 +19,15 @@ The helm chart mainly uses the tekton pipelines under [rhdh-pipelines](https://g
19
19
- The [.tekton/docker-push.yaml](/pac/pipelineRuns/.tekton/docker-push.yaml) PipelineRun used to manage `push` events received from the github app webhook.
20
20
- The [update-deployment.yaml](/pac/tasks/update-deployment.yaml) Task which is used to update the application deployment whenever a new image is pushed to the image registry.
21
21
- The [docker-build-ai-software-templates-chart.yaml](./pac/pipelines/docker-build-ai-software-templates-chart.yaml) Pipeline, again used for the application deployment update.
22
+
23
+
## Testing with a Custom Helm Repository
24
+
25
+
To test your updates by importing the `ai-lab-helm-charts` fork as a custom Helm chart repository, you can follow the instructions [here](./docs/SETUP_CUSTOM_HELM_REPO.md)
26
+
27
+
## Release Process
28
+
29
+
The ai-lab-helm-charts are created on demand.
30
+
31
+
- 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).
32
+
- 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`.
33
+
- After the new release is published, the updated Helm packages will be pinned on the release.
Copy file name to clipboardExpand all lines: charts/ai-software-templates/chatbot/README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ The deployment flow, will create an application instance, a model server and a g
9
9
- You have a Github APP created with sufficient permissions for the organization that the application repository will be created. Detailed instructions for the github application creation can be found [here](https://github.com/redhat-ai-dev/ai-rhdh-installer/blob/main/docs/APP-SETUP.md#github-app).
10
10
- You need to have access to a cluster for each operation with OpenShift 4, like deploying and testing.
11
11
- The Namespace that your application will run is already created in your cluster.
12
-
- Your cluster should have [Openshift Pipelines Operator](https://www.redhat.com/en/technologies/cloud-computing/openshift/pipelines) installed and should be connected to your Github APP's webhook. In case your cluster is not configured yet, check the ["Pipelines Configuration Guide"](../../../../docs/PIPELINES_CONFIGURATION.md) for further instructions.
12
+
- Your cluster should have [Openshift Pipelines Operator](https://www.redhat.com/en/technologies/cloud-computing/openshift/pipelines) installed and should be connected to your Github App's webhook. In case your cluster is not configured yet, check the ["Pipelines Configuration Guide"](https://github.com/redhat-ai-dev/ai-lab-helm-charts/blob/main/docs/PIPELINES_CONFIGURATION.md) for further instructions.
13
13
- A `key/value` Secret is already created in the Namespace that you are planning to install your helm release, containing a [Github Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) with sufficient access to the given Github Organization. You can find the exact permissions [here](https://github.com/redhat-ai-dev/ai-rhdh-installer/blob/main/docs/APP-SETUP.md#procedure). Your Secret's name and the Key of the github token will be provided as values to the helm chart.
14
14
15
15
## Background
@@ -61,11 +61,11 @@ Below is a table of each value used to configure this chart. Note:
61
61
62
62
### Gitops
63
63
64
-
| Value | Description | Default| Additional Information |
|`gitops.gitSecretName`| The name of the Secret containing the required Github token. |`git-secrets`||
67
+
|`gitops.gitSecretKeyToken`| The name of the Secret's key with the Github token value. |`GITHUB_TOKEN`||
68
+
|`gitops.githubOrgName`|`[REQUIRED]` The Github Organization name that the chatbot application repository will be created into |||
69
+
|`gitops.gitSourceRepo`| The Github Repository with the contents of the ai-lab sample chatbot application. It must be either the `redhat-ai-dev/ai-lab-samples` or its fork. |`redhat-ai-dev/ai-lab-samples`|
70
+
|`gitops.gitDefaultBranch`| The default branch for the chatbot application Github repository. |`main`||
71
+
|`gitops.quayAccountName`|`[REQUIRED]` The quay.io account that the application image will be pushed. |||
Copy file name to clipboardExpand all lines: charts/ai-software-templates/chatbot/values.schema.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@
66
66
},
67
67
"gitSourceRepo": {
68
68
"type": "string",
69
-
"description": "The Github Repository with the contents of the chatbot application. If blank it defaults to 'redhat-ai-dev/ai-lab-samples'.",
69
+
"description": "The Github Repository with the contents of the ai-lab sample chatbot application. It must be either the 'redhat-ai-dev/ai-lab-samples' or its fork. If blank it defaults to 'redhat-ai-dev/ai-lab-samples'.",
To setup a custom Helm repository on your fork and be able to import and test the `ai-lab-helm-charts` repo on your OCP cluster, you can follow the steps below:
4
+
5
+
### Setup gh-pages
6
+
7
+
- Create a new branch (`gh-pages` could be a good candidate) in your fork.
8
+
9
+
- Go to your fork's `settings` > `Pages` > `Build and Deployment`.
10
+
11
+
- Select `Deploy from a branch` & choose your new as the branch we will be deploying from.
0 commit comments