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.