This helm chart installs and configures the following projects/products :
Product | Installation | Configuration |
---|---|---|
OpenShift GitOps | Operator Subscription |
Sets up an Argo CD in the developer-argo namespace for developer teams |
OpenShift Pipelines | Operator Subscription |
(TODO) Enables Tekton Chains & sets up signing keys |
Quay | (TODO) Operator Subscription |
|
ACS | (TODO) | |
Trusted Artifact Signer | (TODO) Helm Dependency | |
Trusted Profile Analyzer | (TODO) Helm Dependecy |
- Helm CLI.
- An ACS endpoint and the associated API token.
- A GitHub App and its associated information (c.f. Create a Pipelines-as-Code GitHub App).
General
- Use placeholder values for
Homepage URL
,Callback URL
andWebhook URL
. - Generate a
Webhook secret
.
- Use placeholder values for
Permissions & events
- Follow the instructions from the Pipelines-as-Code documentation.
Repository permissions
Administration
:Read and write
- The GitHub App must be installed at the organization/user level.
-
Login to an OpenShift 4.14 cluster and create a new Project.
-
Add the helm repository to your local system
helm repo add rhtap https://redhat-appstudio.github.io/helm-repository
If you've already added this, run a
helm repo update
time to time to pull the latest packages. -
Edit
values.yaml
to set your configuration parameters. -
Install/upgrade RHTAP
helm upgrade installer rhtap/rhtap --install --create-namespace --namespace rhtap --timeout 10m --values values.yaml
Sample output:
NAME: installer LAST DEPLOYED: Fri Jan 12 12:21:01 2024 NAMESPACE: rhtap STATUS: deployed REVISION: 1 NOTES: Thank you for installing rhtap-installer. [...]
Run the pipeline to get the configuration information as per the
NOTES
section of the helm output. Use the logs information to finish the setup of the GitHub App:Homepage URL
:.pipelines.pipelines-as-code.homepage-url
Callback URL
:.pipelines.pipelines-as-code.callback-url
Webhook URL
:.pipelines.pipelines-as-code.webhook-url
-
Uninstall RHTAP
helm uninstall --namespace rhtap installer
- Add the Helm Chart Repository to OpenShift
apiVersion: helm.openshift.io/v1beta1
kind: HelmChartRepository
metadata:
name: rhtap-installer
spec:
connectionConfig:
url: 'https://redhat-appstudio.github.io/helm-repository'
name: rhtap-installer
- Install the Chart from the catalog
- Download/Clone this Git Repository:
git clone https://github.com/redhat-appstudio/rhtap-installer
. - Install/upgrade the chart on your cluster:
./bin/make.sh apply -- --values values-private.yaml
- Run tests:
./test/e2e.sh -- --values values-private.yaml
TODO
$ git clone https://github.com/redhat-appstudio/rhtap-installer
$ cd rhtap-installer/bin
$ ./make.sh release