Skip to content

Commit

Permalink
Change user to basicAuthUser, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Tualua authored Oct 2, 2024
1 parent 89cd600 commit 707dd22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/datasources.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ metadata:
name: grafanadatasource-sample
spec:
valuesFrom:
- targetPath: "user"
- targetPath: "basicAuthUser"
valueFrom:
secretKeyRef:
name: "credentials"
Expand All @@ -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.
Expand Down

0 comments on commit 707dd22

Please sign in to comment.