diff --git a/alertmanager/webhook/webhook_test.go b/alertmanager/webhook/webhook_test.go index 1f8ff4c3..0f3ac19e 100644 --- a/alertmanager/webhook/webhook_test.go +++ b/alertmanager/webhook/webhook_test.go @@ -125,6 +125,10 @@ func TestSendEventError(t *testing.T) { "value": "test", }, }, + "basicAuth": map[string]string{ + "username": "test", + "password": "test", + }, } c := NewWebhook(configMap, &config.App{ClusterName: "dev"}) assert.NotNil(c) diff --git a/config/config_test.go b/config/config_test.go index 2aa6b03e..9c30c84d 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -73,6 +73,7 @@ func TestConfigFromFile(t *testing.T) { MaxRecentLogLines: 20, Namespaces: []string{"default", "!kwatch"}, Reasons: []string{"default", "!kwatch"}, + IgnorePodNames: []string{"my-fancy-pod-[.*"}, App: App{ ProxyURL: "https://localhost", ClusterName: "development",