Add expense-tracker Application
Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
App-of-Apps Helm chart. Renders `argoproj.io/v1alpha1 Application` resources
|
||||
for every entry configured under `applications` in [`values.yaml`](values.yaml),
|
||||
including the [`valheim-gitops`](https://git.smokyzone.de/SmokyZone/valheim-gitops)
|
||||
stack.
|
||||
and [`expense_tracker-gitops`](https://git.smokyzone.de/SmokyZone/expense_tracker-gitops)
|
||||
stacks.
|
||||
|
||||
Because this repository *is* a Helm chart, it can be registered in ArgoCD as its
|
||||
own Application (Helm source), which then manages all child Applications declared
|
||||
@@ -22,8 +23,8 @@ in `values.yaml`.
|
||||
This registers `apps-in-apps` itself as an ArgoCD Application using this
|
||||
git repo as a Helm chart source, with automated sync/prune/self-heal.
|
||||
3. ArgoCD renders `templates/application.yaml`, which creates one child
|
||||
Application per entry in `applications` (currently: `valheim`, pointing at
|
||||
the `valheim-gitops` chart).
|
||||
Application per entry in `applications` (currently: `valheim`, `expense-tracker`,
|
||||
plus the platform apps).
|
||||
|
||||
## Adding another app
|
||||
|
||||
|
||||
+19
@@ -33,6 +33,25 @@ applications:
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
# Budget / expense tracker: web app + Postgres + ingress (https://budget.smokyzone.de:30444).
|
||||
# Needs its secrets in OpenBao first (secret/expense-tracker/{app,db}) - see the
|
||||
# expense_tracker-gitops README. Until then its pods wait for the ExternalSecrets.
|
||||
- name: expense-tracker
|
||||
enabled: true
|
||||
source:
|
||||
repoURL: https://git.smokyzone.de/SmokyZone/expense_tracker-gitops.git
|
||||
targetRevision: main
|
||||
path: .
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: expense-tracker
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
||||
# External Secrets Operator - installed straight from its official Helm
|
||||
# repo (no git source needed). CRDs are installed by the chart itself.
|
||||
- name: external-secrets
|
||||
|
||||
Reference in New Issue
Block a user