27 lines
662 B
YAML
27 lines
662 B
YAML
# 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
|