Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 6. Installing RHTAP in your cluster
Once you have created a GitHub application and a private values.yaml file, you are ready to install RHTAP. The actual installation process is quite simple.
Prerequisites
- ClusterAdmin access to OCP cluster via CLI
-
A
private-values.yaml
file (generated during the previous procedure)
Procedure
In your CLI, access your OCP cluster as ClusterAdmin.
$ oc login [cluster address] -u kubeadmin -p [password]
Add the installer Helm repository to your local system.
$ helm repo add openshift-helm-charts https://charts.openshift.io/
If you already added this Helm repository earlier, update your Helm repositories.
$ helm repo update
In the directory where you ran
bin/make.sh
, run the install command. Installation may take ten minutes or longer to complete.$ helm upgrade installer openshift-helm-charts/redhat-trusted-application-pipeline --install --create-namespace --namespace rhtap --timeout 20m --values private-values.yaml
NoteAfter
--namespace
you can specify any namespace you want; you do not have to userhtap
.-
Once installation is complete, the installer provides output. Label and save both PipelineRun files that the installer generates in
~/install_values.txt
. -
Copy and paste the entire first PipelineRun, from
cat << EOF | kubectl create
toEOF
into your command line. Press enter to execute this PipelineRun. - Once the PipelineRun completes, it provides output which includes a link. If you are not already logged into the OpenShift web console, login first. Then open the link from the PipelineRun output.
Troubleshooting
-
If Helm is unable to successfully install RHTAP for any reason, try deleting the
rhatp
project in your cluster, and running the install command again.