- and pg-dev folder str... - Remove argocd/, helm-values/ subdirectories - Move files to parent directory with standardized names - Add namespace.yaml to both apps with Goldilocks labels - Preserve vault/ subdirectories (pgweb: 3 files, postgresql-dev: 1 file) - Update main kustomization.yaml to reference argocd.yaml files directly - Update postgresql-dev helm valueFiles path - Comment out argocd.yaml in each app's kustomization.yaml to prevent circular reference Applications restructured: - pgweb - postgresql-dev
32 lines
605 B
YAML
32 lines
605 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: pgweb
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
|
|
sources:
|
|
- repoURL: https://gitea0213.kro.kr/bluemayne/databases.git
|
|
targetRevision: main
|
|
path: pgweb
|
|
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: pgweb
|
|
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
retry:
|
|
limit: 5
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m
|