Skip to content

na-launch-workshop/platform-software-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red Hat Launch Workshop - Software Templates

The software templates included in this repository are used within Red Hat Developer Hub, and allow platform engineering teams to provide developers with supported approaches through a self-service catalog. Read the upstream Backstage docs for more on software templates.

Why This Pattern

A collection of the templates is used as a workshop to deploy Red Hat OpenShift AI (RHOAI), see Using the Templates for more details.

The RHOAI workshop templates deploy OpenShift AI with GitOps through ArgoCD applications. Developer Hub has a concept of entities to offer a logical representation of those components. We built the ability to create entities in Developer Hub for the following reasons:

  • Show a representation of our infrastructure using well-known relations.
  • Entity relationships and associated entity metadata are also defined through GitOps, so if persistent data in Developer Hub was lost, the defined entities in Git can be reimported to Developer Hub.
  • AI Assistant DevSpaces Configuration and Continue Workspace are not defined entities in our project, as we chose for our end user to configure OpenShift AI workspaces ephemerally. They could in theory be defined entities if we wanted to persist this.

Prerequisites

  • Red Hat OpenShift
  • Red Hat Developer Hub (tested with 1.2 and 1.3)

Many of the templates are used to install Red Hat OpenShift AI, and this knowledgebase article lists supported configurations for it.

Installing

Existing software templates, such as the ones provided in this repository, can be imported to Red Hat Developer Hub. For convenience, we have grouped the templates together using Locations. The following Location is used to import all templates in this repository.

In the app-config.yaml configuration file, modify the catalog.rules section to include a rule for templates, and configure the catalog.locations section to point to the template that you want to add, as shown in the following example:

# ...
catalog:
  rules:
    - allow: [Component, API, System, Resource, Location, Template] # <-- add Template to your existing list
  locations:
    - type: url
      target: https://github.com/na-launch-workshop/platform-software-templates/blob/main/catalogs/templates.yaml

Afterwards, recycle the Developer Hub pod so it can read the new app-config.yaml configuration file. See the documentation for more on importing an existing software template.

Using the Templates

To run the RHOAI workshop, templates should be executed in this order:

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

  • Christopher Engleby - poc-examples
  • Kevin Chung
  • Connor Wooley

License

This project is licensed under the MIT License

About

Red Hat Launch Workshop - Software Templates

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages