This repo is a Helm chart that a user with Cluster Admin level privileges would run to set up OpenShift Pipelines for the Devtools AI sample applications. For more information about helm charts see the official Helm Charts Documentation.
- You have sufficient permissions to install operators on an OCP cluster.
- You have sufficient permissions to create a namespace whose name starts with "openshift-".
- You have sufficient permissions to create RBAC and ServiceAccounts in that namespace.
The chart first installs the Openshift Pipelines Operator and once Pipelines is up and running, ensures the Tekton Pipelines features needed by the sample AI applications are turned on.
Lastly, it will set up the Pipelines As Code component of OpenShift Pipelines with the credentials you provide in your values.yaml
file that allow for interaction with your GitHub Application and the events it submits when you interact with your application's
GitHub repository.
The helm chart can be directly installed from the OpenShift Dev Console. Check here for more information.
To install the Pipeline Install Helm chart using Helm directly, you can run:
helm upgrade --install <release-name> --namespace openshift-pipelines --create-namespace .
The .gitignore
file in this repository filters files named private-values.yaml
. Thus, you can maintain in
your local fork of this repository a value settings file outside of git management. Copy values.yaml
in this directory to private-values.yaml
and make any necessary edits to private-values.yaml
. Then change your helm invocation to the following:
helm upgrade --install <release-name> --namespace openshift-pipelines --create-namespace -f ./private-values.yaml .
Below is a table of each value used to configure this chart. Note:
- Your helm release's name will be used to as a prefix for the
Subscription
instance used to initiate the install of OpenShift Pipelines.
Value | Description | Default | Additional Information |
---|---|---|---|
tekton.gitAppId |
[REQUIRED] The ID of the GitHub Application. |
||
tekton.gitAppWebhookSecret |
[REQUIRED] The GitHub Application Webhook secret value. |
||
tekton.gitAppPrivateKey |
[REQUIRED] The Github Application multi-lined private key. |