@@ -111,8 +111,8 @@ e.g. ‘push’ for GitHub or ‘Push Hook’ for GitLab.</p>
111111<td >
112112<code >resources</code ><br >
113113<em >
114- <a href =" #notification.toolkit.fluxcd.io/v1.CrossNamespaceObjectReference " >
115- [ ] CrossNamespaceObjectReference
114+ <a href =" #notification.toolkit.fluxcd.io/v1.ReceiverResource " >
115+ [ ] ReceiverResource
116116</a >
117117</em >
118118</td >
@@ -215,7 +215,7 @@ ReceiverStatus
215215</h3 >
216216<p >
217217(<em >Appears on:</em >
218- <a href =" #notification.toolkit.fluxcd.io/v1.ReceiverSpec " >ReceiverSpec </a >)
218+ <a href =" #notification.toolkit.fluxcd.io/v1.ReceiverResource " >ReceiverResource </a >)
219219</p >
220220<p >CrossNamespaceObjectReference contains enough information to let you locate the
221221typed referenced object at cluster level</p >
@@ -467,6 +467,64 @@ string
467467</table >
468468</div >
469469</div >
470+ <h3 id =" notification.toolkit.fluxcd.io/v1.ReceiverResource " >ReceiverResource
471+ </h3 >
472+ <p >
473+ (<em >Appears on:</em >
474+ <a href =" #notification.toolkit.fluxcd.io/v1.ReceiverSpec " >ReceiverSpec</a >)
475+ </p >
476+ <p >ReceiverResource references a resource to be notified about changes, with an
477+ optional per-resource CEL filter.</p >
478+ <div class =" md-typeset__scrollwrap " >
479+ <div class =" md-typeset__table " >
480+ <table >
481+ <thead >
482+ <tr >
483+ <th >Field</th >
484+ <th >Description</th >
485+ </tr >
486+ </thead >
487+ <tbody >
488+ <tr >
489+ <td >
490+ <code >CrossNamespaceObjectReference</code ><br >
491+ <em >
492+ <a href =" #notification.toolkit.fluxcd.io/v1.CrossNamespaceObjectReference " >
493+ CrossNamespaceObjectReference
494+ </a >
495+ </em >
496+ </td >
497+ <td >
498+ <p >
499+ (Members of <code >CrossNamespaceObjectReference</code > are embedded into this type.)
500+ </p >
501+ </td >
502+ </tr >
503+ <tr >
504+ <td >
505+ <code >filter</code ><br >
506+ <em >
507+ string
508+ </em >
509+ </td >
510+ <td >
511+ <em >(Optional)</em >
512+ <p >Filter is a CEL expression expected to return a boolean that is evaluated
513+ for each resource matched by this reference when a webhook is received,
514+ in addition to the top-level resourceFilter. A reconciliation is requested
515+ only when both expressions (when set) return true.
516+ The expression can read the resource metadata via &lsquo ; res&rsquo ; and the webhook
517+ request body via &lsquo ; req&rsquo ; . For generic-oidc receivers, the verified OIDC
518+ token claims are also available via &lsquo ; claims&rsquo ; .
519+ When the expression is specified the controller will parse it and mark
520+ the object as terminally failed if the expression is invalid or does not
521+ return a boolean.</p >
522+ </td >
523+ </tr >
524+ </tbody >
525+ </table >
526+ </div >
527+ </div >
470528<h3 id =" notification.toolkit.fluxcd.io/v1.ReceiverSpec " >ReceiverSpec
471529</h3 >
472530<p >
@@ -527,8 +585,8 @@ e.g. ‘push’ for GitHub or ‘Push Hook’ for GitLab.</p>
527585<td >
528586<code >resources</code ><br >
529587<em >
530- <a href =" #notification.toolkit.fluxcd.io/v1.CrossNamespaceObjectReference " >
531- [ ] CrossNamespaceObjectReference
588+ <a href =" #notification.toolkit.fluxcd.io/v1.ReceiverResource " >
589+ [ ] ReceiverResource
532590</a >
533591</em >
534592</td >
0 commit comments