Open petewall opened 5 days ago
Just tested this locally in a non-clustered, run from local build on osx and it doesn't occur, looks like it's the helm chart.
I went and looked at the containers/_agent.yaml file and saw that it was quoting the value
- --cluster.name={{ $values.clustering.name | quote }}
I changed it to not | quote
and the quotes were gone. Tested with value with spaces, value with an attempt to break parsing, and it all worked, but I'm very very far from a k8s or helm expert. Does this make sense to you that it would work without | quote
?
alloy:
clustering:
name: alloy cluster --cluster.name=fred
enabled: true
alloy_config_hash{cluster_name="alloy cluster --cluster.name=fred",sha256="fbc28486b565e334d139908df7e3b9244f3c8de221d76cb3b489f38411825eeb"} 1
What's wrong?
I give the alloy cluster a name with the Helm chart:
Which sets it as a command line arg:
But the metric actually includes the quotes:
Steps to reproduce
Use the Alloy Helm chart to deploy Alloy with clustering and a cluster name.
System information
No response
Software version
No response
Configuration
Logs