Skip to content

Commit

Permalink
Merge pull request #5658 from imjasonh/prom-node-exporter-compat
Browse files Browse the repository at this point in the history
add prometheus-node-exporter-compat
  • Loading branch information
ajayk authored Sep 19, 2023
2 parents 24a5ce7 + 8f63aa1 commit 7f4554d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions prometheus-node-exporter.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package:
name: prometheus-node-exporter
# When bumping this version you can remove the `go get` line in the build script
version: 1.6.1
epoch: 2
epoch: 3
description: Prometheus Exporter for machine metrics
copyright:
- license: Apache-2.0
Expand Down Expand Up @@ -32,6 +31,16 @@ pipeline:
- uses: strip

subpackages:
- name: "prometheus-node-exporter-compat"
description: "Compatibility package to place binaries in the location expected by upstream helm charts"
pipeline:
- runs: |
# The helm chart expects the node_exporter binaries to be in /bin instead of /usr/bin
mkdir -p "${{targets.subpkgdir}}"/bin
ln -sf /usr/bin/node_exporter ${{targets.subpkgdir}}/bin/node_exporter
- uses: strip

update:
enabled: true
github:
Expand Down

0 comments on commit 7f4554d

Please sign in to comment.