你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GitRepositoryDefinition interface

用于协调到 GitRepository 源类型的参数。

属性

httpsCACert

用于通过 HTTPS 访问 git 专用 git 存储库的 Base64 编码 HTTPS 证书颁发机构内容

httpsUser

用于通过 HTTPS 访问专用 git 存储库的纯文本 HTTPS 用户名

localAuthRef

Kubernetes 群集上用作身份验证机密的本地机密的名称,而不是托管或用户提供的配置机密。

repositoryRef

GitRepository 对象的源引用。

sshKnownHosts

Base64 编码known_hosts值,其中包含通过 SSH 访问专用 git 存储库所需的公钥

syncIntervalInSeconds

重新协调群集 git 存储库源与远程的间隔。

timeoutInSeconds

尝试将群集 git 存储库源与远程协调的最长时间。

url

要同步的 flux 配置 git 存储库的 URL。

属性详细信息

httpsCACert

用于通过 HTTPS 访问 git 专用 git 存储库的 Base64 编码 HTTPS 证书颁发机构内容

httpsCACert?: string

属性值

string

httpsUser

用于通过 HTTPS 访问专用 git 存储库的纯文本 HTTPS 用户名

httpsUser?: string

属性值

string

localAuthRef

Kubernetes 群集上用作身份验证机密的本地机密的名称,而不是托管或用户提供的配置机密。

localAuthRef?: string

属性值

string

repositoryRef

GitRepository 对象的源引用。

repositoryRef?: RepositoryRefDefinition

属性值

sshKnownHosts

Base64 编码known_hosts值,其中包含通过 SSH 访问专用 git 存储库所需的公钥

sshKnownHosts?: string

属性值

string

syncIntervalInSeconds

重新协调群集 git 存储库源与远程的间隔。

syncIntervalInSeconds?: number

属性值

number

timeoutInSeconds

尝试将群集 git 存储库源与远程协调的最长时间。

timeoutInSeconds?: number

属性值

number

url

要同步的 flux 配置 git 存储库的 URL。

url?: string

属性值

string