06a8f98b5c
- Add cnpg-system base ArgoCD application with namespace - Create cnpg-system overlay for au-syd1 with CloudNativePG Helm chart - Update platform ApplicationSet to include cnpg-system deployment - Configure cloudnative-pg operator v0.27.0 with HA and resource limits - Maintain one-to-one migration from Terraform configuration Reviewed-on: #44
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: platform-apps
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- git:
|
|
repoURL: https://git.unkin.net/unkin/argocd-apps
|
|
revision: HEAD
|
|
directories:
|
|
- path: apps/overlays/*/artifactapi
|
|
- path: apps/overlays/*/cattle-system
|
|
- path: apps/overlays/*/certificates
|
|
- path: apps/overlays/*/cert-manager
|
|
- path: apps/overlays/*/cnpg-system
|
|
- path: apps/overlays/*/externaldns
|
|
- path: apps/overlays/*/reflector-system
|
|
- path: apps/overlays/*/reloader-system
|
|
- path: apps/overlays/*/jfrog
|
|
- path: apps/overlays/*/puppet
|
|
- path: apps/overlays/*/woodpecker
|
|
template:
|
|
metadata:
|
|
name: 'platform-{{path[3]}}' # cluster-app format (e.g., platform-reflector-system)
|
|
spec:
|
|
project: platform
|
|
source:
|
|
repoURL: https://git.unkin.net/unkin/argocd-apps
|
|
targetRevision: HEAD
|
|
path: '{{path}}'
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: '{{path[3]}}' # Use directory name as namespace
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|