Collection of Software Templates / Golden Path for Red Hat Developer Hub.
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:
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.
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.
While implementing or customizing your own Software Template you can leverage the Template functionality available in the UI. See below how to access it.
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.