iperf3-monitor/exporter
google-labs-jules[bot] 2e019b16ff fix: Correct Dockerfile lib path and add Helm dependency toggle
This commit includes two main changes:

1.  **Fix Dockerfile library path for amd64:**
    - I updated the `exporter/Dockerfile` to correctly determine the source path for `libiperf.so.0` when building for different architectures.
    - Specifically, for `TARGETARCH=amd64`, the path `/usr/lib/x86_64-linux-gnu/libiperf.so.0` is now used.
    - For `TARGETARCH=arm64`, the path `/usr/lib/aarch64-linux-gnu/libiperf.so.0` is used.
    - I achieved this by copying the library to a canonical temporary location in the builder stage based on `TARGETARCH`, and then copying it from this location into the final image. This resolves an issue where builds for `amd64` would fail to find the library.

2.  **Add Helm chart option to disable dependencies:**
    - I added a new option `dependencies.install` (default: `true`) to `charts/iperf3-monitor/values.yaml`.
    - This allows you to disable the installation of managed dependencies (i.e., Prometheus Operator via `kube-prometheus-stack` or `prometheus-operator` from TrueCharts) even if `serviceMonitor.enabled` is true.
    - I updated the `condition` for these dependencies in `charts/iperf3-monitor/Chart.yaml` to `dependencies.install, serviceMonitor.enabled, ...`.
    - This is useful for you if you manage your Prometheus Operator installation separately.
2025-06-20 13:25:34 +00:00
..
Dockerfile fix: Correct Dockerfile lib path and add Helm dependency toggle 2025-06-20 13:25:34 +00:00
exporter.py fix: Ensure proper formatting and handle KeyError in exporter.py 2025-06-18 20:41:37 +05:30
requirements.txt feat: Introduce iperf3 Kubernetes network monitor 2025-06-18 20:26:47 +05:30