Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/v1/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ type NotificationIntegrationWebhookSpec struct {
BasicAuth *BasicAuthSpec `json:"basicAuth,omitempty"`
// Custom headers to include in requests.
CustomHeaders []HeaderSpec `json:"customHeaders,omitempty"`
// Static key-value pairs included as top-level fields in template data.
CustomFields map[string]string `json:"customFields,omitempty"`
// Notify of incidents (SLO violation).
Incidents bool `json:"incidents,omitempty"`
// Notify of deployments.
Expand Down
7 changes: 7 additions & 0 deletions api/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions config/crd/coroot.com_coroots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7108,6 +7108,12 @@ spec:
username:
type: string
type: object
customFields:
additionalProperties:
type: string
description: Static key-value pairs included as top-level
fields in template data.
type: object
customHeaders:
description: Custom headers to include in requests.
items:
Expand Down
5 changes: 5 additions & 0 deletions config/crd/coroot.com_coroots_legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6426,6 +6426,11 @@ spec:
username:
type: string
type: object
customFields:
additionalProperties:
type: string
description: Static key-value pairs included as top-level fields in template data.
type: object
customHeaders:
description: Custom headers to include in requests.
items:
Expand Down
Loading