cozystack/packages/system/prometheus-operator-crds/Makefile
nbykov0 825390c209 [core:bundles] separate prometheus-operator-crds
Signed-off-by: nbykov0 <166552198+nbykov0@users.noreply.github.com>
2025-12-04 12:10:46 +03:00

10 lines
497 B
Makefile

export NAME=prometheus-operator-crds
export NAMESPACE=cozy-victoria-metrics-operator
include ../../../scripts/package.mk
update:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update prometheus-community
helm pull prometheus-community/prometheus-operator-crds --untar --untardir charts
rm -f -- `find charts/prometheus-operator-crds/charts/crds/templates -maxdepth 1 -mindepth 1 | grep -v 'servicemonitor\|podmonitor\|prometheusrule\|probe'`