38 lines
938 B
YAML
38 lines
938 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: AppProject
|
|
metadata:
|
|
name: ai-stack
|
|
namespace: argocd
|
|
spec:
|
|
destinations:
|
|
- server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
- server: https://kubernetes.default.svc
|
|
namespace: argo
|
|
# # only add if need to deploy into argocd (ehhhhh)
|
|
# - server: https://kubernetes.default.svc
|
|
# namespace: argocd
|
|
sourceRepos: ["*"]
|
|
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: ai-stack
|
|
namespace: argocd
|
|
spec:
|
|
project: ai-stack
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
source:
|
|
repoURL: https://git.ion606.com/ion606/ollama-plus
|
|
targetRevision: argo-2
|
|
path: apps/children
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|