Class GitConfig (1.16.0)

GitConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Git repo configuration for a single cluster.

Attributes

Name Description
sync_repo str
The URL of the Git repository to use as the source of truth.
sync_branch str
The branch of the repository to sync from. Default: master.
policy_dir str
The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
sync_wait_secs int
Period in seconds between consecutive syncs. Default: 15.
sync_rev str
Git revision (tag or hash) to check out. Default HEAD.
secret_type str
Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.
https_proxy str
URL for the HTTPS proxy to be used when communicating with the Git repo.
gcp_service_account_email str
The Google Cloud Service Account Email used for auth when secret_type is gcpServiceAccount.