File tree 3 files changed +6
-165
lines changed
3 files changed +6
-165
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
resources :
2
2
- ../namespace.yaml
3
- - alloy-config.yaml
4
3
5
4
helmCharts :
6
5
- name : alloy
Original file line number Diff line number Diff line change 1
- # # Configuration for alloy - https://github.com/grafana/alloy/blob/main/operations/helm/charts/alloy/values.yaml
2
- # config:
3
- # # publish data to loki
4
- # clients:
5
- # - url: http://loki:3100/loki/api/v1/push
6
- # # We have to set the tenant_id/OrgID to push logs to Loki
7
- # # otherwise we get an auth error.
8
- # tenant_id: 1
9
-
10
- # snippets:
11
- # pipelineStages:
12
- # # Parse cluster and machine to make them available as labels.
13
- # - cri: {}
14
- # - json:
15
- # expressions:
16
- # controller:
17
- # Cluster: join('/',[Cluster.namespace,Cluster.name])
18
- # Machine: join('/',[Machine.namespace,Machine.name])
19
- # KubeadmControlPlane: join('/',[KubeadmControlPlane.namespace,KubeadmControlPlane.name])
20
- # MachineDeployment: join('/',[MachineDeployment.namespace,MachineDeployment.name])
21
- # MachineSet: join('/',[MachineSet.namespace,MachineSet.name])
22
- # MachinePool: join('/',[MachinePool.namespace,MachinePool.name])
23
- # - labels:
24
- # controller:
25
- # Cluster:
26
- # Machine:
27
- # KubeadmControlPlane:
28
- # MachineDeployment:
29
- # MachineSet:
30
- # MachinePool:
31
-
32
-
33
- # Add a yaml file to generate
34
-
35
-
36
-
1
+ # Configuration for alloy - https://github.com/grafana/alloy/blob/main/operations/helm/charts/alloy/values.yaml
2
+ # Configuration for alloy - https://github.com/grafana/alloy/blob/main/operations/helm/charts/alloy/values.yaml
37
3
alloy :
38
4
configMap :
39
- create : false
5
+ create : true
40
6
name : alloy-config
41
- key : config.alloy
7
+ configFiles :
8
+ config.alloy : |
9
+ {{ .Files.Get "config.alloy" }}
42
10
mounts :
43
11
varlog : true
44
12
run :
You can’t perform that action at this time.
0 commit comments