Skip to content

Commit

Permalink
Adds secret to notification model
Browse files Browse the repository at this point in the history
  • Loading branch information
radwo committed May 17, 2022
1 parent 4082ec9 commit 4b63c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/models/notification_v1_alpha.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ type NotificationV1AlphaSpecRuleNotify struct {
Webhook struct {
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
Timeout int32 `json:"timeout,omitempty" yaml:"timeout,omitempty"`
Action string `json:"action,omitempty" yaml:"action,omitempty"`
Action string `json:"action,omitempty" yaml:"action,omitempty"`
Retries int32 `json:"retries,omitempty" yaml:"retries,omitempty"`
Secret string `json:"secret,omitempty" yaml:"secret,omitempty"`
} `json:"webhook,omitempty" yaml:"webhook,omitempty"`
}

Expand Down

0 comments on commit 4b63c9c

Please sign in to comment.