Skip to content

redhat-na-ssa/software-templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software Templates

Collection of Software Templates / Golden Path for Red Hat Developer Hub.

GitOps and Secret Management

Some of the Templates available in this collection relies on Hashicorp Vault to manage Secrets (eg. Github and Quay access tokens).

Two additional Secret Engine plugins are required to be installed and enabled on Vault Server:

These Secret Engines can create access tokens dynamically on Github and Quay using its APIs and store them in Vault.

In order to automate secrets provisioning these templates generates Custom Resources (CRDs) that requires the following Operators to be present in the cluster where the application gets deployed to:

Sandbox cluster setup with Developer Hub and Hashicorp Vault

You can setup a RHDH + Hashicorp Vault environment on your sandbox cluster using this repo here. This repo contains a ArgoCD app which install all the components needed to use these software templates. I also contains a Ansible playbook to install RHDH and configure Vault.

Using templates without Secret Management

If you don't have Hashicorp Vault setup on your environment you can switch over to the no-vault branch which does not use Vault integration.

Using the Template Editor UI

While implementing or customizing your own Software Template you can leverage the Template functionality available in the UI. See below how to access it.

Backstage Template editor

NOTE: make sure you choose 'Load from a directory' to load this git repo from your local file system and point it to the root of this repo. Any change you make using the web editor will base saved only in your file system. In order to open this template in the Template Editor you need load the root directory of this repo. Also you need to temporally change the relative paths located at lines 98, 103, 189 and 230 at the Springboot template. There are lines commented out for you to make these changes. After finishing you changes make sure you get back to the original paths before pushing to git.

About

Software Template (Backstage)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Smarty 44.8%
  • Java 37.5%
  • HTML 17.7%