flux v2.9.5

Receiver.spec.resources

A list of resources to be notified about changes.

6 fields
Receiver.spec.resources fields and descriptions
Field / TypeDescription
apiVersion
string

API version of the referent

filter
string

Filter is a CEL expression expected to return a boolean that is evaluated for each resource matched by this reference when a webhook is received, in addition to the top-level resourceFilter. A reconciliation is requested only when both expressions (when set) return true. The expression can read the resource metadata via 'res' and the webhook request body via 'req'. For generic-oidc receivers, the verified OIDC token claims are also available via 'claims'. When the expression is specified the controller will parse it and mark the object as terminally failed if the expression is invalid or does not return a boolean.

kind
string required

Kind of the referent

  • enum: ["Bucket","GitRepository","Kustomization","HelmRelease","HelmChart","HelmRepository","ImageRepository","ImagePolicy","ImageUpdateAutomation","OCIRepository","ArtifactGenerator","ExternalArtifact"]
map[string]string

MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed. MatchLabels requires the name to be set to `*`.

name
string required

Name of the referent If multiple resources are targeted `*` may be set.

  • minLength: 1
  • maxLength: 253
namespace
string

Namespace of the referent

  • minLength: 1
  • maxLength: 253