open-policy-agent / kube-mgmt

Sidecar for managing OPA instances in Kubernetes.
Apache License 2.0
239 stars 106 forks source link

fix: helm chart serviceMonitor port definition #201

Closed nejec closed 1 year ago

nejec commented 1 year ago

Current ServiceMonitor template defines http as destination port for scraping metrics data, which is not set in the Service manifest.

This commit updates the ServiceMonitor manifest to use diag port, which is exposed when prometheus is enabled.