Skip to content

Commit c9481ec

Browse files
committed
feat: add helm chart
Signed-off-by: emirot <emirot.nolan@gmail.com>
1 parent c7de2fa commit c9481ec

2 files changed

Lines changed: 108 additions & 1 deletion

File tree

.github/workflows/chart-diff.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Diff charts
6868
run: |
6969
echo "=== Diff between generated manifests and current Helm chart ==="
70-
diff -ruN --exclude='.git' --exclude='*.orig' gitops-promoter/new_charts/chart current-repo/chart > /tmp/chart-diff.diff || true
70+
diff -ruN --exclude='.git' --exclude='*.orig' --exclude='extra' gitops-promoter/new_charts/chart current-repo/chart > /tmp/chart-diff.diff || true
7171
7272
if [ -s /tmp/chart-diff.diff ]; then
7373
echo "Differences found:"
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
apiVersion: promoter.argoproj.io/v1alpha1
2+
kind: ControllerConfiguration
3+
metadata:
4+
labels:
5+
app.kubernetes.io/managed-by: {{ .Release.Service }}
6+
app.kubernetes.io/name: {{ include "promoter.name" . }}
7+
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
8+
app.kubernetes.io/instance: {{ .Release.Name }}
9+
control-plane: controller-manager
10+
name: promoter-controller-configuration
11+
namespace: {{ .Release.Namespace }}
12+
spec:
13+
promotionStrategy:
14+
workQueue:
15+
maxConcurrentReconciles: 10
16+
requeueDuration: "5m"
17+
rateLimiter:
18+
maxOf:
19+
- bucket:
20+
qps: 10
21+
bucket: 100
22+
- fastSlow:
23+
fastDelay: "1s"
24+
slowDelay: "5m"
25+
maxFastAttempts: 3
26+
changeTransferPolicy:
27+
workQueue:
28+
maxConcurrentReconciles: 10
29+
requeueDuration: "5m"
30+
rateLimiter:
31+
maxOf:
32+
- bucket:
33+
qps: 10
34+
bucket: 100
35+
- fastSlow:
36+
fastDelay: "1s"
37+
slowDelay: "5m"
38+
maxFastAttempts: 3
39+
pullRequest:
40+
workQueue:
41+
maxConcurrentReconciles: 10
42+
requeueDuration: "5m"
43+
rateLimiter:
44+
maxOf:
45+
- bucket:
46+
qps: 10
47+
bucket: 100
48+
- fastSlow:
49+
fastDelay: "1s"
50+
slowDelay: "5m"
51+
maxFastAttempts: 3
52+
template:
53+
title: "Promote {{ trunc 5 .ChangeTransferPolicy.Status.Proposed.Dry.Sha }} to `{{ .ChangeTransferPolicy.Spec.ActiveBranch }}`"
54+
description: "This PR is promoting the environment branch `{{ .ChangeTransferPolicy.Spec.ActiveBranch }}` which is currently on dry sha {{ .ChangeTransferPolicy.Status.Active.Dry.Sha }} to dry sha {{ .ChangeTransferPolicy.Status.Proposed.Dry.Sha }}."
55+
commitStatus:
56+
workQueue:
57+
maxConcurrentReconciles: 10
58+
requeueDuration: "5m"
59+
rateLimiter:
60+
maxOf:
61+
- bucket:
62+
qps: 10
63+
bucket: 100
64+
- fastSlow:
65+
fastDelay: "1s"
66+
slowDelay: "5m"
67+
maxFastAttempts: 3
68+
argocdCommitStatus:
69+
watchLocalApplications: true
70+
workQueue:
71+
maxConcurrentReconciles: 10
72+
requeueDuration: "5m"
73+
rateLimiter:
74+
maxOf:
75+
- bucket:
76+
qps: 10
77+
bucket: 100
78+
- fastSlow:
79+
fastDelay: "1s"
80+
slowDelay: "5m"
81+
maxFastAttempts: 3
82+
timedCommitStatus:
83+
workQueue:
84+
maxConcurrentReconciles: 10
85+
requeueDuration: "5m"
86+
rateLimiter:
87+
maxOf:
88+
- bucket:
89+
qps: 10
90+
bucket: 100
91+
- fastSlow:
92+
fastDelay: "1s"
93+
slowDelay: "5m"
94+
maxFastAttempts: 3
95+
gitCommitStatus:
96+
workQueue:
97+
maxConcurrentReconciles: 10
98+
requeueDuration: "5m"
99+
rateLimiter:
100+
maxOf:
101+
- bucket:
102+
qps: 10
103+
bucket: 100
104+
- fastSlow:
105+
fastDelay: "1s"
106+
slowDelay: "5m"
107+
maxFastAttempts: 3

0 commit comments

Comments
 (0)