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