Skip to content

Commit

Permalink
fix: update replacement path in servicemonitor for loki
Browse files Browse the repository at this point in the history
Signed-off-by: walnuts1018 <[email protected]>
  • Loading branch information
walnuts1018 committed Feb 25, 2025
1 parent aaf318b commit b68f855
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/apps/loki/servicemonitor.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local helmname = (import 'helm.jsonnet').spec.source.helm.releaseName;
{
sourceLabels: ['job'],
action: 'replace',
replacement: 'default/$1',
replacement: 'loki/$1',
targetLabel: 'job',
},
{
Expand Down

0 comments on commit b68f855

Please sign in to comment.