Skip to content

Commit

Permalink
fix: add 'webex' as valid type for GrafanaContactPoints (#1798) (#1799)
Browse files Browse the repository at this point in the history
* fix: add 'webex' as valid type for GrafanaContactPoints (#1798)

* chore: generate base crds and api-docs

---------

Co-authored-by: Igor Beliakov <[email protected]>
Co-authored-by: Igor Beliakov <[email protected]>
  • Loading branch information
3 people authored Dec 19, 2024
1 parent 80f4b26 commit fba3d9d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/grafanacontactpoint_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type GrafanaContactPointSpec struct {
// +kubebuilder:validation:MaxItems=99
ValuesFrom []ValueFrom `json:"valuesFrom,omitempty"`

// +kubebuilder:validation:Enum=alertmanager;prometheus-alertmanager;dingding;discord;email;googlechat;kafka;line;opsgenie;pagerduty;pushover;sensugo;sensu;slack;teams;telegram;threema;victorops;webhook;wecom;hipchat;oncall
// +kubebuilder:validation:Enum=alertmanager;prometheus-alertmanager;dingding;discord;email;googlechat;kafka;line;opsgenie;pagerduty;pushover;sensugo;sensu;slack;teams;telegram;threema;victorops;webex;webhook;wecom;hipchat;oncall
Type string `json:"type,omitempty"`
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ spec:
- telegram
- threema
- victorops
- webex
- webhook
- wecom
- hipchat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ spec:
- telegram
- threema
- victorops
- webex
- webhook
- wecom
- hipchat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ spec:
- telegram
- threema
- victorops
- webex
- webhook
- wecom
- hipchat
Expand Down
1 change: 1 addition & 0 deletions deploy/kustomize/base/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ spec:
- telegram
- threema
- victorops
- webex
- webhook
- wecom
- hipchat
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ GrafanaContactPointSpec defines the desired state of GrafanaContactPoint
<td>
<br/>
<br/>
<i>Enum</i>: alertmanager, prometheus-alertmanager, dingding, discord, email, googlechat, kafka, line, opsgenie, pagerduty, pushover, sensugo, sensu, slack, teams, telegram, threema, victorops, webhook, wecom, hipchat, oncall<br/>
<i>Enum</i>: alertmanager, prometheus-alertmanager, dingding, discord, email, googlechat, kafka, line, opsgenie, pagerduty, pushover, sensugo, sensu, slack, teams, telegram, threema, victorops, webex, webhook, wecom, hipchat, oncall<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down

0 comments on commit fba3d9d

Please sign in to comment.