update zh doc patches

This commit is contained in:
guoxudong
2020-08-31 09:38:59 +08:00
parent e2973f6ecc
commit d4503dfd1e
120 changed files with 540 additions and 393 deletions

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="Glossary">
<meta itemprop="description" content="Glossary of terms
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Glossary"/>
<meta name="twitter:description" content="Glossary of terms
"/>
@@ -912,8 +911,8 @@ absolute path, or by relative path.</p>
<li><strong>B</strong> may not <em>depend on</em> <strong>A</strong>, even transitively.</li>
</ul>
<p><strong>A</strong> may contain <strong>B</strong>, but in this case it might be
simplest to have <strong>A</strong> directly depend on <strong>B</strong>&rsquo;s
resources and eliminate <strong>B</strong>&rsquo;s kustomization.yaml file
simplest to have <strong>A</strong> directly depend on <strong>B</strong>&lsquo;s
resources and eliminate <strong>B</strong>&lsquo;s kustomization.yaml file
(i.e. absorb <strong>B</strong> into <strong>A</strong>).</p>
<p>Conventionally, <strong>B</strong> is in a directory that&rsquo;s sibling
to <strong>A</strong>, or <strong>B</strong> is off in a completely independent

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="API Reference">
<meta itemprop="description" content="Reference for Kustomize client-side APIs
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="API Reference"/>
<meta name="twitter:description" content="Reference for Kustomize client-side APIs
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="bases">
<meta itemprop="description" content="Add resources from a kustomization dir.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="bases"/>
<meta name="twitter:description" content="Add resources from a kustomization dir.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="commonAnnotations">
<meta itemprop="description" content="Add annotations to add all resources.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="commonAnnotations"/>
<meta name="twitter:description" content="Add annotations to add all resources.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="commonLabels">
<meta itemprop="description" content="Add labels and selectors to add all resources.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="commonLabels"/>
<meta name="twitter:description" content="Add labels and selectors to add all resources.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="components">
<meta itemprop="description" content="Compose kustomizations.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="components"/>
<meta name="twitter:description" content="Compose kustomizations.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="configMapGenerator">
<meta itemprop="description" content="Generate ConfigMap resources.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="configMapGenerator"/>
<meta name="twitter:description" content="Generate ConfigMap resources.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="crds">
<meta itemprop="description" content="Adding CRD support
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="crds"/>
<meta name="twitter:description" content="Adding CRD support
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="generatorOptions">
<meta itemprop="description" content="Control behavior of [ConfigMap](/kustomize/api-reference/kustomization/configmapgenerator) and [Secret](/kustomize/api-reference/kustomization/secretgenerator) generators.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="generatorOptions"/>
<meta name="twitter:description" content="Control behavior of [ConfigMap](/kustomize/api-reference/kustomization/configmapgenerator) and [Secret](/kustomize/api-reference/kustomization/secretgenerator) generators.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="images">
<meta itemprop="description" content="Modify the name, tags and/or digest for images.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="images"/>
<meta name="twitter:description" content="Modify the name, tags and/or digest for images.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="kustomization.yaml">
<meta itemprop="description" content="kustomization.yaml fields and API
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="kustomization.yaml"/>
<meta name="twitter:description" content="kustomization.yaml fields and API
"/>

View File

@@ -855,7 +855,7 @@ resources.&lt;/p&gt;
supported. No ints, bools, arrays etc. It&amp;rsquo;s not
possible to, say, extract the name of the image in
container number 2 of some pod template.&lt;/p&gt;
&lt;p&gt;A variable reference, i.e. the string &amp;lsquo;$(FOO)&amp;rsquo;,
&lt;p&gt;A variable reference, i.e. the string &amp;lsquo;$(FOO)&#39;,
can only be placed in particular fields of
particular objects as specified by kustomize&amp;rsquo;s
configuration data.&lt;/p&gt;

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="namePrefix">
<meta itemprop="description" content="Prepends the value to the names of all resources and references.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="namePrefix"/>
<meta name="twitter:description" content="Prepends the value to the names of all resources and references.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="namespace">
<meta itemprop="description" content="Adds namespace to all resources.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="namespace"/>
<meta name="twitter:description" content="Adds namespace to all resources.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="nameSuffix">
<meta itemprop="description" content="Appends the value to the names of all resources and references.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="nameSuffix"/>
<meta name="twitter:description" content="Appends the value to the names of all resources and references.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="patches">
<meta itemprop="description" content="Patch resources
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="patches"/>
<meta name="twitter:description" content="Patch resources
"/>
@@ -507,10 +506,10 @@
<ul class="td-sidebar-nav__section pr-md-3">
<li class="td-sidebar-nav__section-title">
<a href="/kustomize/api-reference/kustomization/patchesjson6902/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">patchesJson6902</a>
<a href="/kustomize/api-reference/kustomization/patchesjson6902/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">patchesJson6902</a>
</li>
<ul>
<li class="collapse " id="kustomizeapi-referencekustomizationpatchesjson6902">
<li class="collapse show" id="kustomizeapi-referencekustomizationpatchesjson6902">
@@ -530,10 +529,10 @@
<ul class="td-sidebar-nav__section pr-md-3">
<li class="td-sidebar-nav__section-title">
<a href="/kustomize/api-reference/kustomization/patchesstrategicmerge/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">patchesStrategicMerge</a>
<a href="/kustomize/api-reference/kustomization/patchesstrategicmerge/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">patchesStrategicMerge</a>
</li>
<ul>
<li class="collapse " id="kustomizeapi-referencekustomizationpatchesstrategicmerge">
<li class="collapse show" id="kustomizeapi-referencekustomizationpatchesstrategicmerge">

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="patchesJson6902">
<meta itemprop="description" content="Patch resources using the [json 6902 standard](https://tools.ietf.org/html/rfc6902)
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="patchesJson6902"/>
<meta name="twitter:description" content="Patch resources using the [json 6902 standard](https://tools.ietf.org/html/rfc6902)
"/>
@@ -484,10 +483,10 @@
<ul class="td-sidebar-nav__section pr-md-3">
<li class="td-sidebar-nav__section-title">
<a href="/kustomize/api-reference/kustomization/patches/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">patches</a>
<a href="/kustomize/api-reference/kustomization/patches/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">patches</a>
</li>
<ul>
<li class="collapse " id="kustomizeapi-referencekustomizationpatches">
<li class="collapse show" id="kustomizeapi-referencekustomizationpatches">

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="patchesStrategicMerge">
<meta itemprop="description" content="Patch resources using the strategic merge patch standard.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="patchesStrategicMerge"/>
<meta name="twitter:description" content="Patch resources using the strategic merge patch standard.
"/>
@@ -484,10 +483,10 @@
<ul class="td-sidebar-nav__section pr-md-3">
<li class="td-sidebar-nav__section-title">
<a href="/kustomize/api-reference/kustomization/patches/" class="align-left pl-0 pr-2 collapsed td-sidebar-link td-sidebar-link__section">patches</a>
<a href="/kustomize/api-reference/kustomization/patches/" class="align-left pl-0 pr-2 td-sidebar-link td-sidebar-link__section">patches</a>
</li>
<ul>
<li class="collapse " id="kustomizeapi-referencekustomizationpatches">
<li class="collapse show" id="kustomizeapi-referencekustomizationpatches">

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="replicas">
<meta itemprop="description" content="Change the number of replicas for a resource.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="replicas"/>
<meta name="twitter:description" content="Change the number of replicas for a resource.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="resources">
<meta itemprop="description" content="Resources to include.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="resources"/>
<meta name="twitter:description" content="Resources to include.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="secretGenerator">
<meta itemprop="description" content="Generate Secret resources.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="secretGenerator"/>
<meta name="twitter:description" content="Generate Secret resources.
"/>

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="generator" content="Hugo 0.74.3" />
<meta name="generator" content="Hugo 0.68.3" />
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
@@ -29,8 +29,7 @@
<meta property="og:site_name" content="Kustomize" />
<meta itemprop="name" content="vars">
<meta itemprop="description" content="Substitute name references.
">
<meta name="twitter:card" content="summary"/>
"><meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="vars"/>
<meta name="twitter:description" content="Substitute name references.
"/>
@@ -795,7 +794,7 @@ resources.</p>
supported. No ints, bools, arrays etc. It&rsquo;s not
possible to, say, extract the name of the image in
container number 2 of some pod template.</p>
<p>A variable reference, i.e. the string &lsquo;$(FOO)&rsquo;,
<p>A variable reference, i.e. the string &lsquo;$(FOO)',
can only be placed in particular fields of
particular objects as specified by kustomize&rsquo;s
configuration data.</p>