aquasecurity / trivy-operator

Kubernetes-native security toolkit
https://aquasecurity.github.io/trivy-operator/latest
Apache License 2.0
1.29k stars 215 forks source link

Set Prometheus ServiceMonitor apiVersion via variable #2234

Open tjmullicani opened 3 months ago

tjmullicani commented 3 months ago

The Helm chart hard-codes the ServiceMonitor apiVersion to monitoring.coreos.com/v1. This should be configurable using a variable, as Microsoft Azure Prometheus uses azmonitoring.coreos.com/v1 instead (https://learn.microsoft.com/en-us/azure/azure-monitor/containers/prometheus-metrics-scrape-crd#example-pod-monitor).

github-actions[bot] commented 1 month ago

This issue is stale because it has been labeled with inactivity.