Chapter 6. Installing RHTAP in your cluster
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 procedure) Procedure In your CLI, access your OCP cluster as ClusterAdmin. Add the installer Helm repository to your local system. If you already added this Helm repository earlier, update your Helm repositories. In the directory where you ran bin/make.sh , run the install command. Installation may take ten minutes or longer to complete. Note After --namespace you can specify any namespace you want; you do not have to use rhtap . Once installation is complete, the installer provides output. Label and save the PipelineRun file that the installer generates in ~/install_values.txt . Copy and paste the entire PipelineRun, from cat << EOF | kubectl create to EOF , 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.
oc login [cluster address] -u kubeadmin -p [password] helm repo add openshift-helm-charts https://charts.openshift.io/ helm repo update helm upgrade installer openshift-helm-charts/redhat-trusted-application-pipeline --install --create-namespace --namespace rhtap --timeout 20m --values private-values.yaml