Validated Patterns

Deploying the RHOSO GitOps pattern

Deploy the RHOSO GitOps pattern on a single Red Hat OpenShift Container Platform cluster. Complete the prerequisites, prepare your fork of the pattern repository, install with ./pattern.sh, and verify that Argo CD Applications are healthy.

Prerequisites

Before you deploy the pattern, verify that you have the following:

  • A Red Hat OpenShift Container Platform 4.14 or later cluster with enough compute and storage for RHOSO. For sizing guidance, see Cluster sizing.

  • Cluster administrator privileges and a working kubeconfig.

  • Podman 4.3 or later for ./pattern.sh.

  • Red Hat OpenShift GitOps available on the cluster (installed by the pattern framework or pre-installed).

  • The required tool dependencies are installed.

Preparing for deployment

Procedure
  1. Fork the rhoso-gitops repository on GitHub.

  2. Clone your fork:

    $ git clone git@github.com:<your_organization>/rhoso-gitops.git
  3. Change to the repository directory:

    $ cd rhoso-gitops
  4. Optional: If you plan to use Vault integration later, copy the secrets template:

    $ cp values-secret.yaml.template values-secret.yaml

Installing the pattern

Procedure
  1. Validate prerequisites without applying changes:

    $ ./pattern.sh make validate-prereq
  2. Preview the rendered manifests:

    $ ./pattern.sh make show
  3. Install the pattern:

    $ ./pattern.sh make install

Verifying the deployment

Procedure
  1. List Argo CD applications in vp-gitops:

    $ oc get applications -n vp-gitops
  2. List Argo CD applications in rhoso-gitops-standalone:

    $ oc get applications -n rhoso-gitops-standalone
  3. After install, run the pattern health check:

    $ ./pattern.sh make argo-healthcheck
  4. Validate the pattern schema:

    $ ./pattern.sh make validate-schema