Add OneLab Helm chart, Argo CD Application, and GitOps values for k3s
Made-with: Cursor
This commit is contained in:
26
gitops/argocd/application.yaml
Normal file
26
gitops/argocd/application.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
# Syncs chart from Git; ensure Argo CD can clone repoURL (add credentials in Argo if private).
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: onelab
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.luneski.fr/luneski/onelab-k8s.git
|
||||
targetRevision: main
|
||||
path: gitops/charts/onelab
|
||||
helm:
|
||||
valueFiles:
|
||||
- ../../values/k3s-example.yaml
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: onelab
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
Reference in New Issue
Block a user