Skip to content

Conversation

@mallendem
Copy link

Update docs for updatecli/updatecli#7591

Copilot AI review requested due to automatic review settings January 21, 2026 17:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the documentation for the file plugin to document the new template attribute feature. The changes add comprehensive documentation about using Go template files with Sprig functions to generate dynamic file content.

Changes:

  • Added template to the list of unsupported attributes for file sources and conditions
  • Documented the spec.template attribute with description and usage details
  • Added a mutual exclusivity warning for template with other content-related attributes
  • Provided a complete example showing template usage with source value access and Sprig functions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant