NamespaceSync ​Namespace​Sync

yaml
type: "io.kestra.plugin.git.namespacesync"
yaml
id: git_namespace_sync
namespace: system
tasks:
  - id: sync
    type: io.kestra.plugin.git.NamespaceSync
    namespace: system
    sourceOfTruth: GIT
    whenMissingInSource: DELETE
    protectedNamespaces:
      - system
    url: https://github.com/fdelbrayelle/plugin-git-qa
    username: fdelbrayelle
    password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
    branch: main
    gitDirectory: kestra

yaml
id: kestra_namespace_sync
namespace: system
tasks:
  - id: sync
    type: io.kestra.plugin.git.NamespaceSync
    namespace: system
    sourceOfTruth: KESTRA
    whenMissingInSource: KEEP
    protectedNamespaces:
      - system
    url: https://github.com/fdelbrayelle/plugin-git-qa
    username: fdelbrayelle
    password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
    branch: dev
    # gitDirectory omitted -> repository root
    onInvalidSyntax: WARN
    # dryRun omitted
Properties
Default false
Default FAIL
Possible Values
SKIPWARNFAIL
SubType string
Default ["system"]
Default KESTRA
Possible Values
GITKESTRA
Default DELETE
Possible Values
DELETEKEEPFAIL
Format uri