prometheus-operator / kube-prometheus

Use Prometheus to monitor Kubernetes and applications running on Kubernetes

Home Page:https://prometheus-operator.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning - 'bearerTokenFile' is deprecated

mpv001 opened this issue · comments

We have updated to the kube Prometheus stack version 58.0.0.

We are now getting some warnings as below -
kube-prometheus-stack level=warn caller=promcfg.go:1374 component=prometheus-controller msg="'bearerTokenFile' is deprecated, use 'authorization' instead." version=v2.51.1

When will this be resolved in the CRDs? Should we expect this changed in the upcoming version or do we have to make any changes at our end?

  • Prometheus Operator version: v0.73.0

This PR fixes this warning. Thank you.