Move all Application manifests (app-*.yaml) out of apps/argocd/ to apps/ to avoid chicken-and-egg issue where Applications couldn't update themselves. Architecture: - apps/app-stack-basicstack-de.yaml: manages apps/** excluding argocd/** - apps/app-argocd.yaml: manages apps/argocd/** via kustomize - apps/app-basicstack-org.yaml: manages basicstack.org repo This enables full self-management: all Applications can sync their own configurations from git. Co-Authored-By: Paperclip <noreply@paperclip.ing>
20 lines
459 B
YAML
20 lines
459 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: basicstack-org
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: git@forgejo.forgejo.svc.cluster.local:basicstack/basicstack.org.git
|
|
targetRevision: main
|
|
path: k8s
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: basicstack-web
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|