-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the formatAsJson actually do something and add config validation. (
#633) Also remove journal extraConfig which also was not used. Signed-off-by: Pete Wall <pete.wall@grafana.com>
- Loading branch information
Showing
8 changed files
with
56 additions
and
16 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
tests/spec/fixtures/invalid-logs-config-non-daemonset-and-journal-logs_values.yaml
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,25 @@ | ||
--- | ||
cluster: | ||
name: invalid-logs-config-non-daemonset-and-journal-logs | ||
|
||
externalServices: | ||
prometheus: | ||
host: https://prometheus.example.com | ||
basicAuth: | ||
username: 12345 | ||
password: "It's a secret to everyone" | ||
loki: | ||
host: https://loki.example.com | ||
basicAuth: | ||
username: 12345 | ||
password: "It's a secret to everyone" | ||
|
||
logs: | ||
pod_logs: | ||
gatherMethod: api | ||
journal: | ||
enabled: true | ||
|
||
alloy-logs: | ||
controller: | ||
type: deployment |
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