Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
a-thaler committed Jul 3, 2024
1 parent 89df1e1 commit ed6740d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions internal/selfmonitor/config/config_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ import (

func TestMakeConfigMarshalling(t *testing.T) {
config := MakeConfig(BuilderConfig{
ScrapeNamespace: "kyma-system",
WebhookURL: "http://webhook:9090",
ScrapeNamespace: "kyma-system",
WebhookURL: "http://webhook:9090",
ConfigPath: "/dummy-configpath/",
AlertRuleFileName: "dymma-alerts.yml",
})
monitorConfigYaml, err := yaml.Marshal(config)
require.NoError(t, err)
Expand Down
2 changes: 1 addition & 1 deletion internal/selfmonitor/config/testdata/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ alerting:
tls_config:
insecure_skip_verify: true
rule_files:
- /etc/prometheus/alerting_rules.yml
- /dummy-configpath/dymma-alerts.yml
scrape_configs:
- job_name: kubernetes-service-endpoints
relabel_configs:
Expand Down

0 comments on commit ed6740d

Please sign in to comment.