From 707dd22cb4b8ee5dfd2de45983de92bf4bb7bc58 Mon Sep 17 00:00:00 2001 From: Dmitry Popovich <32481693+Tualua@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:11:28 +0800 Subject: [PATCH] Change user to basicAuthUser, fix typo --- docs/docs/datasources.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/datasources.md b/docs/docs/datasources.md index e7bb36875..3159a10fb 100644 --- a/docs/docs/datasources.md +++ b/docs/docs/datasources.md @@ -28,7 +28,7 @@ metadata: name: grafanadatasource-sample spec: valuesFrom: - - targetPath: "user" + - targetPath: "basicAuthUser" valueFrom: secretKeyRef: name: "credentials" @@ -53,7 +53,7 @@ spec: "tlsSkipVerify": true "timeInterval": "5s" secureJsonData: - "basicAuthPassword": ${PROMETHEUS_PASSWORD} # Notice the brakes around PROMETHEUS_PASSWORD + "basicAuthPassword": ${PROMETHEUS_PASSWORD} # Notice the braces around PROMETHEUS_PASSWORD ``` **NOTE:** The secret must exist in the same namespace as the datasource.