
tenantsync
tenantsync
yaml
type: "io.kestra.plugin.git.tenantsync"Examples
yaml
id: tenant_sync_git
namespace: system
tasks:
- id: sync
type: io.kestra.plugin.git.TenantSync
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
kestraUrl: "http://localhost:8080"
auth:
username: "{{ secret('KESTRA_USERNAME') }}"
password: "{{ secret('KESTRA_PASSWORD') }}"
yaml
id: tenant_sync_kestra
namespace: system
tasks:
- id: sync
type: io.kestra.plugin.git.TenantSync
sourceOfTruth: KESTRA
whenMissingInSource: KEEP
url: https://github.com/fdelbrayelle/plugin-git-qa
username: fdelbrayelle
password: "{{ secret('GITHUB_ACCESS_TOKEN') }}"
branch: dev
kestraUrl: "http://localhost:8080"
auth:
username: "{{ secret('KESTRA_USERNAME') }}"
password: "{{ secret('KESTRA_PASSWORD') }}"
Properties
auth*RequiredNon-dynamic
Definitions
io.kestra.plugin.git.AbstractKestraTask-Auth
apiTokenstring
passwordstring
usernamestring
branch*Requiredstring
cloneSubmodulesbooleanstring
dryRunbooleanstring
Default
falsegitConfigobject
gitDirectorystring
kestraUrlstring
onInvalidSyntaxstring
Default
FAILPossible Values
SKIPWARNFAILpassphrasestring
passwordstring
privateKeystring
protectedNamespacesarray
SubTypestring
Default
["system"]sourceOfTruthstring
Default
KESTRAPossible Values
GITKESTRAurlstring
usernamestring
whenMissingInSourcestring
Default
DELETEPossible Values
DELETEKEEPFAILOutputs
commitIdstring
commitURLstring
diffstring
Format
uri