TenantSync
Enterprise Edition Talk to us
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
passwordstring
usernamestring
branch *Requiredstring
cloneSubmodules booleanstring
connectTimeout integerstring
Default
10000dryRun booleanstring
Default
falsegitConfig object
gitDirectory string
kestraUrl string
noProxy booleanstring
onInvalidSyntax string
Default
FAILPossible Values
SKIPWARNFAILpassphrase string
password string
privateKey string
protectedNamespaces array
SubTypestring
Default
["system"]readTimeout integerstring
Default
60000sourceOfTruth string
Default
KESTRAPossible Values
GITKESTRAtrustedCaPemPath string
url string
username string
whenMissingInSource string
Default
DELETEPossible Values
DELETEKEEPFAILOutputs
commitId string
commitURL string
diff string
Format
uri