openstack-gitops / rhoso-gitops

RHOSO GitOps base tooling (in development)
Apache License 2.0
2 stars 2 forks source link

rhoso-gitops

An implementation of Red Hat GitOps (GitOps, ArgoCD) for managing the deployment of Red Hat OpenStack Services on OpenShift (RHOSO).

WARNING: Contents of this repository are a work in progress and not yet ready for usage in a production environment. The organization or contents of this repository may change drastically at any time.

Repository Layout

Deployment

Manifests are managed with kustomize (https://kustomize.io/) and can be applied directly with oc apply -k <directory>.

Expected order of operations is:

Bootstrap Red Hat GitOps

You must first install Red Hat GitOps (GitOps) to provide the automation system for deploying RHOSO. Installation of GitOps can be done on a hub cluster or an unmanaged cluster. If installed on the hub cluster, you can use a GitOps Application to deploy GitOps on the managed cluster. If you are not using a hub cluster, then installation of GitOps on the unmanaged cluster must done first.

Prerequisites

Procedure

Use the deployment.playbook script to automate the installation of Red Hat GitOps with Ansible and Kustomize.

Set up Red Hat Advanced Cluster Management for GitOps

When using Red Hat Advanced Cluster Management (RHACM) to support GitOps Applications for managed clusters, we will configure the hub cluster in preparation for using GitOps to support managed cluster configuration.

If you are using GitOps on an unmanaged cluster without RHACM, then this will be unnecessary.

Prerequisites

Procedure

Accessing the user interface for OpenShift GitOps

You can view progress and management of the Applications by looking up the host address with oc.

Procedure

Deploy Prerequisites

Deploy the prerequisites for deployment of a RHOSO environment by creating the openstack-prerequisites GitOps Application.

Procedure