Skip to content

Files

Latest commit

 

History

History

common

Validated Patterns common/ repository

License

Note

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.*

Start Here

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

Secrets

There are two different secret formats parsed by the ansible bits. Both are documented here