add argocd

This commit is contained in:
2025-07-28 15:49:10 -05:00
parent fb9370f20e
commit a839fb6db6
8 changed files with 448 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: cluster-autoscaler
namespace: argocd
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- cluster: development
url: https://kubernetes.default.svc
template:
metadata:
name: 'cluster-autoscaler-{{.cluster}}'
spec:
project: default
source:
repoURL: https://github.com/ryanc/argocd.git
targetRevision: HEAD
path: cluster-autoscaler/envs/{{.cluster}}
destination:
server: '{{.url}}'
namespace: kube-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true