add argocd
This commit is contained in:
31
argocd/apps/cluster-autoscaler.yaml
Normal file
31
argocd/apps/cluster-autoscaler.yaml
Normal 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
|
Reference in New Issue
Block a user