You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notification Self Service Namespaced Config (#191)
* self-service from event
* chore: replace github.com/ghodss/yaml with sigs.k8s.io/yaml (#175)
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Reference: argoproj/argo-cd#13292 (comment)
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* feat: Adding new PagerDuty integration based on Events API v2 (#105)
Signed-off-by: Eric Tendian <erictendian@gmail.com>
* self-service from event
* self-service from event
* self-service from event
* self-service from event
* self-service from event
* clean up factory.go
* error handleing in factory.go
* error handleing in factory.go
* error handleing in factory.go
* error handleing in factory.go
* error handleing in factory.go
* error handleing in factory.go
* error handleing in factory.go
* better caching
* better caching
* refactor
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* unused
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* lint
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* bump ci
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* small fixes
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* rename
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* rename
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* rename
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* change log line
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* update tests
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* continue on error
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* continue on errors
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* add godoc
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* continue on error
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* fix error by going back to non namespace support
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* fix log
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
* improve log on error
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
---------
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Signed-off-by: Eric Tendian <erictendian@gmail.com>
Signed-off-by: zachaller <zachaller@users.noreply.github.com>
Co-authored-by: May Zhang <may_zhang@intuit.com>
Co-authored-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Co-authored-by: Eric Tendian <erictendian@gmail.com>
// GetAPIsFromNamespace returns a map of API instances for a given namespace, if there is an error in populating the API for a namespace, it will be skipped
137
+
// and the error will be logged and returned. The caller is responsible for handling the error. The API map will also be returned with any successfully constructed
logEntry.Debugf("Failed to execute condition of trigger %s: %v", trigger, err)
193
-
eventSequence.addWarning(fmt.Errorf("failed to execute condition of trigger %s: %v", trigger, err))
202
+
logEntry.Debugf("Failed to execute condition of trigger %s: %v using the configuration in namespace %s", trigger, err, apiNamespace)
203
+
eventSequence.addWarning(fmt.Errorf("failed to execute condition of trigger %s: %v using the configuration in namespace %s", trigger, err, apiNamespace))
eventSequence.addError(fmt.Errorf("failed to deliver notification %s to %s: %v", trigger, to, err))
232
+
eventSequence.addError(fmt.Errorf("failed to deliver notification %s to %s: %v using the configuration in namespace %s", trigger, to, err, apiNamespace))
223
233
} else {
224
-
logEntry.Debugf("Notification %s was sent", to.Recipient)
234
+
logEntry.Debugf("Notification %s was sent using the configuration in namespace %s", to.Recipient, apiNamespace)
0 commit comments