nais/naisd

Not respecting the prometheus fields in the nais yaml for deployment

Closed this issue · 0 comments

In our nais yaml:

prometheus:
  enabled: true
  path: /prometheus

But in the deployment:

$ kubectl describe deployments varseloppgave
Pod Template:
  Labels:       app=varseloppgave
  Annotations:  prometheus.io/path=/metrics
                prometheus.io/port=http
                prometheus.io/scrape=false

We expected that the pod template annotations were set accordingly to

prometheus.io/path=/prometheus
prometheus.io/port=http
prometheus.io/scrape=true