Important
This repository contains both a Helm chart for installing OpenShift Operators, as well as configuration scripts for configuring those Operators to enable AI Software Templates in Red Hat Developer Hub.
- OpenShift (more information here or create your OpenShift cluster). Tested on OpenShift 4.15. More information here for supported OpenShift versions with Red Hat Developer Hub version 1.2.
- OpenShift AI (optional, more information here).
- Helm CLI (more information here).
- GitHub or GitLab app created via APP-SETUP.md.
- Quay image registry (more information here).
- yq version 4.0+
- kubectl or oc version compatible with your target cluster
Important
It is recommended you run the Helm chart on a fresh cluster that does not have pre-existing GitOps/ArgoCD, Pipelines/Tekton and Developer Hub Operators.
This Helm chart installs and configures the following operators:
Product | Installation | Configuration |
---|---|---|
OpenShift GitOps | Operator Subscription |
Controlled by the values YAML file. If a subscription already exists, the installation will not modify it. A new instance of ArgoCD will be created. |
OpenShift Pipelines | Operator Subscription |
Controlled by the values YAML file. If a subscription already exists, the installation will not modify it. In all cases, the TektonConfig will be modified to enable Tekton Chains and the signing secret will be setup. |
Red Hat Developer Hub | Operator Subscription |
Controlled by the values YAML file. If a subscription already exists, the installation will not modify it. A new instance of RHDH will be created. |
Note: If a subscription for an operator already exists, the installation will not tamper with it.
Warning
This installer is incompatible with the default
namespace. Install and uninstall commands must include --namespace <target-namespace>
, or the context namespace should e updated. E.g. oc project <target-namespace>
.
To deploy default installations of the above Operators, run:
helm upgrade --install <release-name> <path-to-chart> --namespace <namespace> --create-namespace
For example, to deploy this Helm chart to the ai-rhdh
namespace you can run:
helm upgrade --install ai-rhdh ./chart --namespace ai-rhdh --create-namespace
To uninstall the Operators, run:
helm uninstall <release-name> --namespace <namespace>
Important
It is recommended you configure using the configure.sh
script listed below. Configuration options for pre-existing instances are a work-in-progress (WIP), you can find this information here:
For convenience you can configure your Red Hat Developer Hub, GitOps, and Pipelines Operators to enable the use of AI Software Templates by running the following from the root of this repository:
bash ./configure.sh
Note: If you changed the installation namespace used by the installer you will first need to run export NAMESPACE=<namespace used>
as the default value is ai-rhdh
.
For information related to extra configuration options, see docs/EXTRA-CONFIG.md
.