-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…1392) The configuration validation was only allowing `grpc` schemes in practice `grpc` and `grpcs` should both be allowed. * improve validation to allow grpcs scheme in the kube-prometheus-sd config Signed-off-by: Charly Molter <charly@koyeb.com> (cherry picked from commit 1df77f3) Co-authored-by: Charly Molter <charly.molter@gmail.com>
- Loading branch information
1 parent
e1b6755
commit 45acbdc
Showing
3 changed files
with
22 additions
and
3 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
6 changes: 6 additions & 0 deletions
6
pkg/config/app/kuma-prometheus-sd/testdata/valid-grpcs-config.input.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,6 @@ | ||
monitoringAssignment: | ||
client: | ||
name: custom | ||
url: grpcs://kuma-control-plane.internal:5682 | ||
prometheus: | ||
outputFile: /path/to/file |