Files
Myasnikov Daniil cf87201099 test(monitoring-agents): run this package's helm suite
hack/helm-unit-tests.sh discovers work by probing each package for a
`test` Makefile target, so a package without one is skipped in silence
however many suites sit under tests/.

monitoring-agents had tests/fluent-bit_probes_test.yaml and no target,
so that suite had never run once since it was written. It passes; the
only thing missing was the two lines that reach it.

Assisted-By: Claude <noreply@anthropic.com>
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-08-13 16:47:35 +05:00

24 lines
850 B
Makefile

export NAME=monitoring-agents
export NAMESPACE=cozy-monitoring
include ../../../hack/package.mk
# hack/helm-unit-tests.sh discovers work by probing for this target, so a
# package without one is skipped in silence however many suites sit under
# tests/. This package had suites and no target, so none of them had ever run.
test:
helm unittest .
update:
rm -rf charts
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update prometheus-community
# Kube-state-metrics
helm pull prometheus-community/kube-state-metrics --untar --untardir charts
# Node-exporter
helm pull prometheus-community/prometheus-node-exporter --untar --untardir charts
# Fluent-bit
helm repo add fluent https://fluent.github.io/helm-charts
helm repo update fluent
helm pull fluent/fluent-bit --untar --untardir charts