Default annotations (prometheus.io/*) can't be removed
!77 (merged) created a bug when using this chart as a sub-chart via dependencies
in Chart.yaml
, as it is not possible to disable/remove the default annotations from values.yaml in this chart.
The problem is, the prometheus annotations are always included in the chart, even when the port is not exposed because the observability feature was turned off in values, which causes Prometheus to try to scrape the closed port.
I will create the fix.
Edited by Thomas Spear