Sync Namespace Files from Git to Kestra.

This task syncs Namespace Files from a given Git branch to a Kestra namespace.

If the delete property is set to true, any Namespace Files available in Kestra but not present in the gitDirectory will be deleted. This allows you to maintain Git as the single source of truth for your Namespace Files. Check the Version Control with Git documentation for more details.

Using this task, you can push one or more Namespace Files from a given Kestra namespace to Git. Check the Version Control with Git documentation for more details.

If you don't want some files from Git to be synced, you can add them to a .kestraignore file at the root of your gitDirectory folder β€” that file works the same way as .gitignore.

yaml
type: "io.kestra.plugin.git.syncnamespacefiles"