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:
parent
0794c89dba
commit
de0fabd0b1
5 changed files with 54 additions and 50 deletions
25
argocd-bootstrap/004-baseline-app.yml
Normal file
25
argocd-bootstrap/004-baseline-app.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue