refactor(argocd): split bootstrap files

- rename bootstrap files for clarification
- remove project and application from argocd-apps values
- add new YAML for project configuration
- add new YAML for application configuration
This commit is contained in:
Sebastian Mark 2024-09-03 21:31:40 +02:00
parent 0794c89dba
commit de0fabd0b1
5 changed files with 54 additions and 50 deletions

View file

@ -0,0 +1,25 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: baseline
namespace: argocd
spec:
project: baseline
source:
repoURL: 'https://git.smsvc.net/k8s/baseline.git'
targetRevision: HEAD
path: manifests/
directory:
recurse: true
destination:
server: 'https://kubernetes.default.svc'
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
retry:
backoff:
duration: 15s
maxDuration: 30m