Skip to content

Commit e588eff

Browse files
committed
add alloy argo cd test
1 parent 2da0e95 commit e588eff

69 files changed

Lines changed: 2740 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: alloy
5+
namespace: argo-cd
6+
finalizers:
7+
- resources-finalizer.argocd.argoproj.io
8+
spec:
9+
project: default
10+
destination:
11+
server: https://kubernetes.default.svc
12+
namespace: monitoring
13+
sources:
14+
# --- Source 1: The Helm chart ---
15+
- repoURL: 'https://github.com/phuchoang2603/realtime-credit-card-fraud-detection.git'
16+
path: deployments/monitoring/alloy
17+
targetRevision: main
18+
helm:
19+
valueFiles:
20+
# This path references the 'values' ref from the second source below.
21+
- $values/deployments/argo-cd/values/alloy.yaml
22+
23+
# --- Source 2: The Helm values file reference ---
24+
- repoURL: 'https://github.com/phuchoang2603/realtime-credit-card-fraud-detection.git'
25+
targetRevision: main
26+
# 'ref' creates a variable ($values) that can be used in other sources.
27+
ref: values
28+
29+
# --- Sync Policy ---
30+
# This configures how the application stays in sync with the Git repository.
31+
syncPolicy:
32+
automated:
33+
# Allows Argo CD to delete resources that are no longer in the Git repository.
34+
prune: true
35+
# Allows Argo CD to automatically sync the app when it detects differences.
36+
selfHeal: true
37+
syncOptions:
38+
# Creates the destination namespace if it doesn't exist.
39+
- CreateNamespace=true
40+
# Uses server-side apply to manage resources, which is generally more reliable.
41+
- ServerSideApply=true
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
alloy:
2+
configMap:
3+
content: |-
4+
// Write your Alloy config here:
5+
logging {
6+
level = "info"
7+
format = "logfmt"
8+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
24+
25+
# Don't package templates.
26+
README.md.gotmpl
27+
28+
# Don't packages the tests used for CI.
29+
/tests/
Lines changed: 252 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,252 @@
1+
# Changelog
2+
3+
> _Contributors should read our [contributors guide][] for instructions on how
4+
> to update the changelog._
5+
6+
This document contains a historical list of changes between releases. Only
7+
changes that impact end-user behavior are listed; changes to documentation or
8+
internal API changes are not present.
9+
10+
Unreleased
11+
----------
12+
13+
1.0.2 (2025-04-23)
14+
----------
15+
16+
### Enhancements
17+
18+
- Update to Grafana Alloy v1.8.2. (@kalleep)
19+
20+
1.0.1 (2025-04-10)
21+
----------
22+
23+
### Enhancements
24+
25+
- Update to Grafana Alloy v1.8.1. (@dehaansa)
26+
27+
- Update default configreloader resources to match what is set in prometheus-operator project (@dehaansa)
28+
- Add Vertical Pod Autoscaler support (@QuentinBisson)
29+
- Add support for configuring minReadySeconds in Helm chart. (@PabloPie)
30+
31+
1.0.0 (2025-04-09)
32+
----------
33+
34+
### Enhancements
35+
36+
- Update version to `1.0.0`. This Helm chart is now covered with the [backward-compatibility](https://grafana.com/docs/alloy/latest/introduction/backward-compatibility/) policy.
37+
38+
- Update to Grafana Alloy v1.8.0. (@thampiotr)
39+
40+
0.12.6 (2025-04-03)
41+
----------
42+
### Breaking changes
43+
44+
- configReloader.customArgs are likely to break as the prometheus maintained config reloader does not have the same arguments as the previous image (@dehaansa)
45+
46+
### Enhancements
47+
48+
- Change configReloader from jimmydyson/configmap-reload to prometheus-operator/prometheus-config-reloader (@dehaansa)
49+
- Update to Grafana Alloy v1.7.5. (@kimxogus)
50+
- Add `checksum/config` pod annotation (@kimxogus)
51+
52+
### Other changes
53+
54+
- Fix typo in values.yaml documentation (@petewall)
55+
56+
0.12.5 (2025-03-13)
57+
----------
58+
### Enhancements
59+
60+
- Update to Grafana Alloy v1.7.4. (@dehaansa)
61+
62+
0.12.4 (2025-03-13)
63+
----------
64+
### Enhancements
65+
66+
- Update to Grafana Alloy v1.7.3. (@dehaansa)
67+
68+
0.12.3 (2025-03-10)
69+
----------
70+
71+
### Enhancements
72+
73+
- Add support for adding livenessProbe to agent container (@slimes28)
74+
75+
0.12.2 (2025-03-10)
76+
----------
77+
78+
### Bug Fixes
79+
80+
- Set resource namespace correctly (@shinebayar-g)
81+
82+
### Enhancements
83+
84+
- Add a new `automountServiceAccountToken` configuration value for `serviceAccount`. (@ptodev)
85+
- Update to Grafana Alloy v1.7.2. (@thampiotr)
86+
87+
0.12.1 (2025-02-26)
88+
----------
89+
90+
### Enhancements
91+
92+
- Update to Grafana Alloy v1.7.1. (@thampiotr)
93+
94+
0.12.0 (2025-02-24)
95+
----------
96+
97+
### Enhancements
98+
99+
- Update to Grafana Alloy v1.7.0. (@thampiotr)
100+
101+
0.11.0 (2025-01-23)
102+
----------
103+
104+
### Enhancements
105+
106+
- Update jimmidyson/configmap-reload to 0.14.0. (@petewall)
107+
- Add the ability to deploy extra manifest files. (@dbluxo)
108+
109+
0.10.1 (2024-12-03)
110+
----------
111+
112+
### Enhancements
113+
114+
- Update to Grafana Alloy v1.5.1. (@ptodev)
115+
116+
0.10.0 (2024-11-13)
117+
----------
118+
119+
### Enhancements
120+
121+
- Add support for adding hostAliases to the Helm chart. (@duncan485)
122+
- Update to Grafana Alloy v1.5.0. (@thampiotr)
123+
124+
0.9.2 (2024-10-18)
125+
------------------
126+
127+
### Enhancements
128+
129+
- Update to Grafana Alloy v1.4.3. (@ptodev)
130+
131+
0.9.1 (2024-10-04)
132+
------------------
133+
134+
### Enhancements
135+
136+
- Update to Grafana Alloy v1.4.2. (@ptodev)
137+
138+
0.9.0 (2024-10-02)
139+
------------------
140+
141+
### Enhancements
142+
143+
- Add lifecyle hook to the Helm chart. (@etiennep)
144+
- Add terminationGracePeriodSeconds setting to the Helm chart. (@etiennep)
145+
146+
0.8.1 (2024-09-26)
147+
------------------
148+
149+
### Enhancements
150+
151+
- Update to Grafana Alloy v1.4.1. (@ptodev)
152+
153+
0.8.0 (2024-09-25)
154+
------------------
155+
156+
### Enhancements
157+
158+
- Update to Grafana Alloy v1.4.0. (@ptodev)
159+
160+
0.7.0 (2024-08-26)
161+
------------------
162+
163+
### Enhancements
164+
165+
- Add PodDisruptionBudget to the Helm chart. (@itspouya)
166+
167+
0.6.1 (2024-08-23)
168+
----------
169+
170+
### Enhancements
171+
172+
- Add the ability to set --cluster.name in the Helm chart with alloy.clustering.name. (@petewall)
173+
- Add the ability to set appProtocol in extraPorts to help OpenShift users to expose gRPC. (@clementduveau)
174+
175+
### Other changes
176+
177+
- Update helm chart to use v1.3.1.
178+
179+
0.6.0 (2024-08-05)
180+
------------------
181+
182+
### Other changes
183+
184+
- Update helm chart to use v1.3.0.
185+
186+
- Set `publishNotReadyAddresses` to `true` in the service spec for clustering to fix a bug where peers could not join on startup. (@wildum)
187+
188+
0.5.1 (2023-07-11)
189+
------------------
190+
191+
### Other changes
192+
193+
- Update helm chart to use v1.2.1.
194+
195+
0.5.0 (2024-07-08)
196+
------------------
197+
198+
### Enhancements
199+
200+
- Only utilize spec.internalTrafficPolicy in the Service if deploying to Kubernetes 1.26 or later. (@petewall)
201+
202+
0.4.0 (2024-06-26)
203+
------------------
204+
205+
### Enhancements
206+
207+
- Update to Grafana Alloy v1.2.0. (@ptodev)
208+
209+
0.3.2 (2024-05-30)
210+
------------------
211+
212+
### Bugfixes
213+
214+
- Update to Grafana Alloy v1.1.1. (@rfratto)
215+
216+
0.3.1 (2024-05-22)
217+
------------------
218+
219+
### Bugfixes
220+
221+
- Fix clustering on instances running within Istio mesh by allowing to change the name of the clustering port
222+
223+
0.3.0 (2024-05-14)
224+
------------------
225+
226+
### Enhancements
227+
228+
- Update to Grafana Alloy v1.1.0. (@rfratto)
229+
230+
0.2.0 (2024-05-08)
231+
------------------
232+
233+
### Other changes
234+
235+
- Support all [Kubernetes recommended labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/) (@nlamirault)
236+
237+
0.1.1 (2024-04-11)
238+
------------------
239+
240+
### Other changes
241+
242+
- Add missing Alloy icon to Chart.yaml. (@rfratto)
243+
244+
0.1.0 (2024-04-09)
245+
------------------
246+
247+
### Features
248+
249+
- Introduce a Grafana Alloy Helm chart. The Grafana Alloy Helm chart is
250+
backwards compatibile with the values.yaml from the `grafana-agent` Helm
251+
chart. Review the Helm chart README for a description on how to migrate.
252+
(@rfratto)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies:
2+
- name: crds
3+
repository: ""
4+
version: 0.0.0
5+
digest: sha256:1980431a3d80822fca2e67e9cf16ff7a7f8d1dc87deb9e44d50e85e3e8e33a81
6+
generated: "2025-04-23T11:02:05.639669797Z"
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v2
2+
appVersion: v1.8.2
3+
dependencies:
4+
- condition: crds.create
5+
name: crds
6+
repository: ""
7+
version: 0.0.0
8+
description: Grafana Alloy
9+
icon: https://raw.githubusercontent.com/grafana/alloy/main/docs/sources/assets/alloy_icon_orange.svg
10+
name: alloy
11+
type: application
12+
version: 1.0.2

0 commit comments

Comments
 (0)