Skip to content

Commit

Permalink
sync kubelet-config.v1 kubelet-credentialprovider.v1alpha1 kubelet-cr…
Browse files Browse the repository at this point in the history
…edentialprovider.v1beta1
  • Loading branch information
asa3311 committed Oct 31, 2023
1 parent be43fc0 commit 4df18d9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
15 changes: 7 additions & 8 deletions content/zh-cn/docs/reference/config-api/kubelet-config.v1.md
Expand Up @@ -110,16 +110,15 @@ and URL path.
<!--
Each entry in matchImages is a pattern which can optionally contain a port and a path.
Globs can be used in the domain, but not in the port or the path. Globs are supported
as subdomains like <code>&ast;.k8s.io</code> or <code>k8s.&ast;.io</code>, and top-level-domains such as <code>k8s.&ast;</code>.
Matching partial subdomains like <code>app&ast;.k8s.io</code> is also supported. Each glob can only match
a single subdomain segment, so <code>&ast;.io</code> does not match <code>&ast;.k8s.io</code>.
as subdomains like '&ast;.k8s.io' or 'k8s.&ast;.io', and top-level-domains such as 'k8s.&ast;'.
Matching partial subdomains like 'app</em>.k8s.io' is also supported. Each glob can only match
a single subdomain segment, so &ast;.io does not match &ast;.k8s.io.
-->
<p><code>matchImages</code> 中的每个条目都是一个模式字符串,其中可以包含端口号和路径。
域名部分可以包含通配符,但端口或路径部分不可以。
<code>&ast;.k8s.io</code> 或 <code>k8s.&ast;.io</code> 等子域名以及
<code>k8s.&ast;</code> 这类顶级域名都支持通配符。</p>
<p>对于 <code>app&ast;.k8s.io</code> 这类部分子域名的匹配也是支持的。
每个通配符只能用来匹配一个子域名段,所以 <code>&ast;.io</code> 不会匹配 <code>&ast;.k8s.io</code>。</p>
域名部分可以包含通配符,但端口或路径部分不可以。'&ast;.k8s.io' 或 'k8s.&ast;.io' 等子域名以及
'k8s.&ast;' 这类顶级域名都支持通配符。</p>
<p>对于 'app</em>.k8s.io' 这类部分子域名的匹配也是支持的。
每个通配符只能用来匹配一个子域名段,所以 &ast;.io 不会匹配 &ast;.k8s.io。</p>
<!--
A match exists between an image and a matchImage when all of the below are true:
-->
Expand Down
Expand Up @@ -127,16 +127,16 @@ this field to null if no valid credentials can be returned for the requested ima
<!--
Each key in the map is a pattern which can optionally contain a port and a path.
Globs can be used in the domain, but not in the port or the path. Globs are supported
as subdomains like <code>&ast;.k8s.io</code> or <code>k8s.&ast;.io</code>, and top-level-domains such as <code>k8s.&ast;</code>.
Matching partial subdomains like <code>app&ast;.k8s.io</code> is also supported. Each glob can only match
a single subdomain segment, so <code>&ast;.io</code> does not match <code>&ast;.k8s.io</code>.</p>
as subdomains like '&ast;.k8s.io' or 'k8s.&ast;.io', and top-level-domains such as 'k8s.&ast;'.
Matching partial subdomains like 'app&ast;.k8s.io' is also supported. Each glob can only match
a single subdomain segment, so &ast;.io does not match &ast;.k8s.io.</p>
-->
<p>
映射中每个键值都是一个正则表达式,可以选择包含端口和路径。
域名部分可以包含通配符,但在端口或路径中不能使用通配符。
支持通配符作为子域,如 <code>&ast;.k8s.io</code><code>k8s.&ast;.io</code>,以及顶级域,如 <code>k8s.&ast;</code>
还支持匹配部分子域,如 <code>app&ast;.k8s.io</code>。每个通配符只能匹配一个子域段,
因此 <code>&ast;.io</code> 不匹配 <code>&ast;.k8s.io</code>
支持通配符作为子域,如 '&ast;.k8s.io''k8s.&ast;.io',以及顶级域,如 'k8s.&ast;'
还支持匹配部分子域,如 'app&ast;.k8s.io'。每个通配符只能匹配一个子域段,
因此 &ast;.io 不匹配 &ast;.k8s.io。
</p>
<!--
<p>The kubelet will match images against the key when all of the below are true:</p>
Expand Down
Expand Up @@ -127,16 +127,16 @@ this field to null if no valid credentials can be returned for the requested ima
<!--
Each key in the map is a pattern which can optionally contain a port and a path.
Globs can be used in the domain, but not in the port or the path. Globs are supported
as subdomains like <code>&ast;.k8s.io</code> or <code>k8s.&ast;.io</code>, and top-level-domains such as <code>k8s.&ast;</code>.
Matching partial subdomains like <code>app&ast;.k8s.io</code> is also supported. Each glob can only match
a single subdomain segment, so <code>&ast;.io</code> does not match <code>&ast;.k8s.io</code>.</p>
as subdomains like '&ast;.k8s.io' or 'k8s.&ast;.io', and top-level-domains such as 'k8s.&ast;'.
Matching partial subdomains like 'app&ast;.k8s.io' is also supported. Each glob can only match
a single subdomain segment, so &ast;.io does not match &ast;.k8s.io.</p>
-->
<p>
映射中每个键值都是一个正则表达式,可以选择包含端口和路径。
域名部分可以包含通配符,但在端口或路径中不能使用通配符。
支持通配符作为子域,如 <code>&ast;.k8s.io</code><code>k8s.&ast;.io</code>,以及顶级域,如 <code>k8s.&ast;</code>
还支持匹配部分子域,如 <code>app&ast;.k8s.io</code>。每个通配符只能匹配一个子域段,
因此 <code>&ast;.io</code> 不匹配 <code>&ast;.k8s.io</code>
支持通配符作为子域,如 '&ast;.k8s.io''k8s.&ast;.io',以及顶级域,如 'k8s.&ast;'
还支持匹配部分子域,如 'app&ast;.k8s.io'。每个通配符只能匹配一个子域段,
因此 &ast;.io 不匹配 &ast;.k8s.io。
</p>
<!--
<p>The kubelet will match images against the key when all of the below are true:</p>
Expand Down

0 comments on commit 4df18d9

Please sign in to comment.