This is the main
branch of common and it assumes that the pattern is fully
multisource (meaning that any used charts from VP is actually referenced from
either a helm chart repository or quay repository). I.e. there are no helm
charts contained in this branch of common and there is no ansible code neither.
The helm charts now live in separate repositories under the VP organization on GitHub. The repositories are:
- clustergroup-chart
- pattern-install-chart
- hashicorp-vault-chart
- golang-external-secrets-chart
- acm-chart
- letsencrypt-chart
The ansible bits live in this repository
In order to be able to use this "slimmed-down" main branch of common you must
use a 0.9.* clustergroup-chart that. Add the following to your values-global.yaml
:
main:
multiSourceConfig:
enabled: true
clusterGroupChartVersion: 0.9.*
This repository is never used as standalone. It is usually imported in each pattern as a subtree.
In order to import the common/ the very first time you can use
https://github.com/validatedpatterns/multicloud-gitops/blob/main/common/scripts/make_common_subtree.sh
In order to update your common subtree inside your pattern repository you can either use
https://github.com/validatedpatterns/utilities/blob/main/scripts/update-common-everywhere.sh
or
do it manually by doing the following:
git remote add -f upstream-common https://github.com/validatedpatterns/common.git
git merge -s subtree -Xtheirs -Xsubtree=common upstream-common/main
There are two different secret formats parsed by the ansible bits. Both are documented here