File tree 2 files changed +66
-0
lines changed
bootstrap/control-plane/addons/oss
environments/default/addons/keda
2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ apiVersion : argoproj.io/v1alpha1
3
+ kind : ApplicationSet
4
+ metadata :
5
+ name : addons-keda
6
+ spec :
7
+ syncPolicy :
8
+ preserveResourcesOnDeletion : true
9
+ generators :
10
+ - merge :
11
+ mergeKeys : [server]
12
+ generators :
13
+ - clusters :
14
+ values :
15
+ addonChart : keda
16
+ # anything not staging or prod use this version
17
+ addonChartVersion : 2.14.2
18
+ addonChartRepository : https://kedacore.github.io/charts
19
+ selector :
20
+ matchExpressions :
21
+ - key : akuity.io/argo-cd-cluster-name
22
+ operator : NotIn
23
+ values : [in-cluster]
24
+ - key : enable_keda
25
+ operator : In
26
+ values : ['true']
27
+ - clusters :
28
+ selector :
29
+ matchLabels :
30
+ environment : staging
31
+ values :
32
+ addonChartVersion : 2.14.2
33
+ - clusters :
34
+ selector :
35
+ matchLabels :
36
+ environment : prod
37
+ values :
38
+ addonChartVersion : 2.14.2
39
+ template :
40
+ metadata :
41
+ name : addon-{{name}}-{{values.addonChart}}
42
+ spec :
43
+ project : default
44
+ sources :
45
+ - repoURL : ' {{metadata.annotations.addons_repo_url}}'
46
+ targetRevision : ' {{metadata.annotations.addons_repo_revision}}'
47
+ ref : values
48
+ - chart : ' {{values.addonChart}}'
49
+ repoURL : ' {{values.addonChartRepository}}'
50
+ targetRevision : ' {{values.addonChartVersion}}'
51
+ helm :
52
+ releaseName : ' {{values.addonChart}}'
53
+ ignoreMissingValueFiles : true
54
+ valueFiles :
55
+ - $values/{{metadata.annotations.addons_repo_basepath}}environments/default/addons/{{values.addonChart}}/values.yaml
56
+ - $values/{{metadata.annotations.addons_repo_basepath}}environments/{{metadata.labels.environment}}/addons/{{values.addonChart}}/values.yaml
57
+ - $values/{{metadata.annotations.addons_repo_basepath}}clusters/{{name}}/addons/{{values.addonChart}}/values.yaml
58
+ destination :
59
+ namespace : ' {{values.addonChart}}'
60
+ name : ' {{name}}'
61
+ syncPolicy :
62
+ automated : {}
63
+ syncOptions :
64
+ - CreateNamespace=true
65
+ - ServerSideApply=true # Big CRDs.
Original file line number Diff line number Diff line change
1
+ # Helm chart values
You can’t perform that action at this time.
0 commit comments