docs: replace deprecated bodyContains and add {{.Schedule}} in integration guide
Merged
KE
5mo ago+3+3+0123456789-2-2-0123456789
What type of PR is this?
/kind docs
What this PR does / why we need it:
docs/integration.md had two stale spots that conflicted with docs/reference.md:
- The GitHub Webhooks example used the deprecated
bodyContainsfield, and the filtering options summary listedbodyContainswithout a deprecation notice while omittingbodyPattern,excludeBodyPatterns, andcommentOn. - The template variables table at the end of the file was missing the
{{.Schedule}}row that exists in reference.md.
This PR:
- Swaps
bodyContains: "/kelos"forbodyPattern: "/kelos"in the GitHub Webhooks example. - Updates the filtering options summary to list
bodyPattern,excludeBodyPatterns, andcommentOn, and notes thatbodyContainsis deprecated in favor ofbodyPattern. - Adds the
{{.Schedule}}row to the template variables table so cron users see the schedule string is available.
Which issue(s) this PR is related to:
Fixes #1120
Special notes for your reviewer:
Docs-only change. No code paths touched. The bodyContains field itself remains supported (still documented as deprecated in reference.md), so existing manifests continue to apply.
Does this PR introduce a user-facing change?
NONE
Summary by cubic
Update docs/integration.md to replace deprecated bodyContains with bodyPattern, list bodyPattern, excludeBodyPatterns, and commentOn in filtering options, and add {{.Schedule}} to the template variables. Brings the integration guide in line with docs/reference.md and addresses #1120.