add Keda
This commit is contained in:
		
							
								
								
									
										41
									
								
								apps/keda.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								apps/keda.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,41 @@
 | 
				
			|||||||
 | 
					apiVersion: argoproj.io/v1alpha1
 | 
				
			||||||
 | 
					kind: ApplicationSet
 | 
				
			||||||
 | 
					metadata:
 | 
				
			||||||
 | 
					  name: keda
 | 
				
			||||||
 | 
					spec:
 | 
				
			||||||
 | 
					  goTemplate: true
 | 
				
			||||||
 | 
					  goTemplateOptions: ["missingkey=error"]
 | 
				
			||||||
 | 
					  generators:
 | 
				
			||||||
 | 
					    - list:
 | 
				
			||||||
 | 
					        elements:
 | 
				
			||||||
 | 
					        - cluster: production
 | 
				
			||||||
 | 
					          url: https://kubernetes.default.svc
 | 
				
			||||||
 | 
					        - cluster: staging
 | 
				
			||||||
 | 
					          url: https://k3s-ctrl-lb.lab.kill0.net:6443
 | 
				
			||||||
 | 
					        - cluster: development
 | 
				
			||||||
 | 
					          url: https://k0s-ctrl-vip.lab.kill0.net:6443
 | 
				
			||||||
 | 
					  template:
 | 
				
			||||||
 | 
					    metadata:
 | 
				
			||||||
 | 
					      name: 'keda-{{.cluster}}'
 | 
				
			||||||
 | 
					    spec:
 | 
				
			||||||
 | 
					      project: default
 | 
				
			||||||
 | 
					      source:
 | 
				
			||||||
 | 
					        path: keda
 | 
				
			||||||
 | 
					        repoURL: https://git.kill0.net/ryanc/argocd.git
 | 
				
			||||||
 | 
					        targetRevision: HEAD
 | 
				
			||||||
 | 
					        helm:
 | 
				
			||||||
 | 
					          releaseName: keda
 | 
				
			||||||
 | 
					          valueFiles:
 | 
				
			||||||
 | 
					            - values.yaml
 | 
				
			||||||
 | 
					            - values-{{.cluster}}.yaml
 | 
				
			||||||
 | 
					          ignoreMissingValueFiles: true
 | 
				
			||||||
 | 
					      destination:
 | 
				
			||||||
 | 
					        server: '{{.url}}'
 | 
				
			||||||
 | 
					        namespace: keda
 | 
				
			||||||
 | 
					      syncPolicy:
 | 
				
			||||||
 | 
					        automated:
 | 
				
			||||||
 | 
					          prune: true
 | 
				
			||||||
 | 
					          selfHeal: true
 | 
				
			||||||
 | 
					        syncOptions:
 | 
				
			||||||
 | 
					          - CreateNamespace=true
 | 
				
			||||||
 | 
					          - ServerSideApply=true
 | 
				
			||||||
							
								
								
									
										9
									
								
								keda/Chart.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								keda/Chart.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					apiVersion: v2
 | 
				
			||||||
 | 
					name: keda
 | 
				
			||||||
 | 
					version: "1.0.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					dependencies:
 | 
				
			||||||
 | 
					  - name: keda
 | 
				
			||||||
 | 
					    version: 2.17.2
 | 
				
			||||||
 | 
					    repository: https://kedacore.github.io/charts
 | 
				
			||||||
		Reference in New Issue
	
	Block a user