-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the type of endpoint params (#1029)
Signed-off-by: Pete Wall <pete.wall@grafana.com>
- Loading branch information
Showing
21 changed files
with
5,434 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!-- | ||
(NOTE: Do not edit README.md directly. It is a generated file!) | ||
( To make changes, please modify values.yaml or description.txt and run `make examples`) | ||
--> | ||
# OAuth2 Authentication | ||
|
||
This example demonstrates how to use OAuth2 for authentication. | ||
|
||
## Values | ||
|
||
```yaml | ||
cluster: | ||
name: oauth2-auth-example | ||
|
||
destinations: | ||
- name: otel-endpoint | ||
type: otlp | ||
url: "grpc.my.otel.endpoint:443" | ||
auth: | ||
type: oauth2 | ||
oauth2: | ||
tokenURL: "https://my.idp/application/o/token/" | ||
clientId: "my-client-id" | ||
clientSecretFile: "/var/run/secrets/kubernetes.io/serviceaccount/token" | ||
endpointParams: | ||
grant_type: ["client_credentials"] | ||
client_assertion_type: ["urn:ietf:params:oauth:client-assertion-type:jwt-bearer"] | ||
logs: {enabled: true} | ||
metrics: {enabled: true} | ||
traces: {enabled: true} | ||
|
||
clusterMetrics: | ||
enabled: true | ||
|
||
clusterEvents: | ||
enabled: true | ||
|
||
podLogs: | ||
enabled: true | ||
|
||
nodeLogs: | ||
enabled: true | ||
|
||
prometheusOperatorObjects: | ||
enabled: true | ||
|
||
annotationAutodiscovery: | ||
enabled: true | ||
|
||
alloy-logs: | ||
enabled: true | ||
alloy-metrics: | ||
enabled: true | ||
alloy-singleton: | ||
enabled: true | ||
``` |
Oops, something went wrong.