feat(kubernetes): add initial setup for ArgoCD, Cert-Manager, MetalLB, and Traefik
Signed-off-by: Tuan-Dat Tran <tuan-dat.tran@tudattr.dev>
This commit is contained in:
19
roles/kubernetes_argocd/templates/app.yaml.j2
Normal file
19
roles/kubernetes_argocd/templates/app.yaml.j2
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: "{{ item.name }}"
|
||||
namespace: "{{ argocd_namespace }}"
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: "{{ item.repo_url }}"
|
||||
targetRevision: "{{ item.target_revision }}"
|
||||
path: "{{ item.path }}"
|
||||
destination:
|
||||
server: "{{ item.destination_server }}"
|
||||
namespace: "{{ item.destination_namespace }}"
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
Reference in New Issue
Block a user