refactor: yml -> yaml
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
25
roles/kubernetes_argocd/templates/root_application.yaml.j2
Normal file
25
roles/kubernetes_argocd/templates/root_application.yaml.j2
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: homelab-gitops-root
|
||||
namespace: argocd
|
||||
labels:
|
||||
app.kubernetes.io/name: argocd-root
|
||||
app.kubernetes.io/instance: homelab
|
||||
app.kubernetes.io/component: gitops-bootstrap
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: {{ argocd_git_repository }}
|
||||
targetRevision: HEAD
|
||||
path: cluster-apps/
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: argocd
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ApplyOutOfSyncOnly=true
|
||||
Reference in New Issue
Block a user