redhat-ai-services / ai-accelerator

The AI Accelerator is a template project for setting up Red Hat OpenShift AI using GitOps
28 stars 59 forks source link

Skip gitops install if already installed #55

Closed strangiato closed 1 month ago

strangiato commented 1 month ago

Currently the bootstrap script tries to do a basic install of OpenShift GitOps and after the bootstrap it applies additional configurations.

If a user attempts to run the bootstrap script a second time it causes issues where the bootstrap script can't get past the "install gitops" step even though it is already installed.

This adds a simple check to see if the operator is already installed and allows the process to proceed to the rest of the bootstrap process.