Use this repo as a template and import it into your JX cluster to deploy a PSQL based Sourced Event Store via Zalando PostgreSQL Operator, and then configures the database for use with sourced by creating the "Event" table with SchemaHero.
- A Kubernetes cluster with ArgoCD configured to deploy this repo
- Zalando PostgreSQL Operator installed on that cluster
- SchemaHero installed on that cluster
- Click "Use Template"
- A constraint of PGO is that the database name starts with a "team" name. Name the repo as
${teamName}-sourced
. For example, if you are building a funnel for the marketing team, you might name it "marketing-sourced". You could have one for the whole org if it were a smaller project. Up to you - can always refactor later. - Renamed
charts/sourced-db
tocharts/${teamName}-sourced
to match the repo name - Find and Replace in the project
sourced-db
and replace with${teamName}-sourced
.
You may want to configure backups and restores via Zalando PostgreSQL Operator. See the docs for that project for info, and configure by changing the config in charts/${teamName}-sourced/templates/postgresql-sourced.yaml
Other than that, and scaling changes, you probably won't need to change this chart.