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
cloneSubmodules booleanstring
dryRun booleanstring
Default
falsegitConfig object
gitDirectory string
kestraUrl string
onInvalidSyntax string
Default
FAILPossible Values
SKIPWARNFAILpassphrase string
password string
privateKey string
protectedNamespaces array
SubTypestring
Default
["system"]sourceOfTruth string
Default
KESTRAPossible Values
GITKESTRAurl string
username string
whenMissingInSource string
Default
DELETEPossible Values
DELETEKEEPFAILOutputs
commitId string
commitURL string
diff string
Format
uri