flux v2.0.1

Provider.spec

ProviderSpec defines the desired state of the Provider.

10 fields
Provider.spec fields and descriptions
Field / TypeDescription
address
string

Address specifies the endpoint, in a generic sense, to where alerts are sent. What kind of endpoint depends on the specific Provider type being used. For the generic Provider, for example, this is an HTTP/S address. For other Provider types this could be a project ID or a namespace.

  • maxLength: 2048
object

CertSecretRef specifies the Secret containing a PEM-encoded CA certificate (`caFile`).

channel
string

Channel specifies the destination channel where events should be posted.

  • maxLength: 2048
interval
string

Interval at which to reconcile the Provider with its Secret references.

  • pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
proxy
string

Proxy the HTTP/S address of the proxy server.

  • maxLength: 2048
  • pattern: ^(http|https)://.*$
object

SecretRef specifies the Secret containing the authentication credentials for this Provider.

suspend
boolean

Suspend tells the controller to suspend subsequent events handling for this Provider.

timeout
string

Timeout for sending alerts to the Provider.

  • pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m))+$
type
string required

Type specifies which Provider implementation to use.

  • enum: ["slack","discord","msteams","rocket","generic","generic-hmac","github","gitlab","gitea","bitbucket","azuredevops","googlechat","googlepubsub","webex","sentry","azureeventhub","telegram","lark","matrix","opsgenie","alertmanager","grafana","githubdispatch","pagerduty"]
username
string

Username specifies the name under which events are posted.

  • maxLength: 2048