Automate the installation of ROSA add-ons

Solution Unverified - Updated -

Environment

  • Red Hat OpenShift Service on AWS (ROSA)
    • 4
  • Red Hat OpenShift Dedicated (OSD)
    • 4

Issue

  • Is it possible to automate the installation of ROSA add-ons?
  • The installation of ROSA add-ons only references the interactive installation. Can the add-ons be installed in a non-interactive way?
  • Can the ROSA add-ons be installed using a bash script?

Resolution

When installing an add-on interactively with the rosa CLI, it's printed the command to perform the same installation with the same parameters. This feature was included by this PR to the rosa repository.

Root Cause

In latest versions of the rosa CLI, it's possible to pass the add-ons parameters to the rosa CLI command.

Diagnostic Steps

Install a ROSA add-on with the rosa install addon command (using an up-to-date version of the rosa CLI) following the documentation, and check the output.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments