Created attachment 1819293 [details] grafana logs Description of problem: # oc -n openshift-monitoring logs $(oc -n openshift-monitoring get po | grep grafana | awk '{print $1}') -c grafana | grep Deprecated t=2021-08-30T23:58:24+0000 lvl=warn msg="[Deprecated] the use of basicAuthPassword field is deprecated. Please use secureJsonData.basicAuthPassword" logger=provisioning.datasources datasource name=prometheus Version-Release number of selected component (if applicable): 4.9.0-0.nightly-2021-08-30-192239 grafana 7.5.5 How reproducible: always Steps to Reproduce: 1. check grafana logs 2. 3. Actual results: Expected results: Additional info:
tested with 4.10.0-0.nightly-2021-09-09-225032, no warning info for grafana # oc -n openshift-monitoring get secret grafana-datasources -o jsonpath="{.data.datasources\.yaml}" | base64 -d { "apiVersion": 1, "datasources": [ { "access": "proxy", "basicAuth": true, "basicAuthUser": "internal", "editable": false, "jsonData": { "tlsSkipVerify": true }, "name": "prometheus", "orgId": 1, "secureJsonData": { "basicAuthPassword": "" }, "type": "prometheus", "url": "https://prometheus-k8s.openshift-monitoring.svc:9091", "version": 1 } ] }
Code reverted as a part of https://github.com/openshift/cluster-monitoring-operator/pull/1539. https://github.com/openshift/cluster-monitoring-operator/pull/1539#issuecomment-1016209106