add zh docsy

This commit is contained in:
guoxudong
2020-06-15 13:39:13 +08:00
parent a0072a2cf9
commit 518147c129
240 changed files with 49830 additions and 1083 deletions

View File

@@ -4,10 +4,27 @@ linkTitle = "Kustomize"
+++
{{% blocks/lead color="primary" %}}
Kustomize provides a solution for customizing Kubernetes resource configuration free from templates
and DSLs.
{{% /blocks/lead %}}
{{<blocks/cover title="Kustomize" image_anchor="center" height="full" color="primary">}}
<div class="mx-auto">
<p class="lead mt-5">Kustomize provides a solution for customizing Kubernetes resource configuration free from templates
and DSLs.</p>
<a
class="btn btn-lg btn-primary mr-3 mb-4"
href="/kustomize/installation/"
>
Get Started <i class="fas fa-arrow-alt-circle-right ml-2"></i>
</a>
<a
class="btn btn-lg btn-secondary mr-3 mb-4"
href="/kustomize/contributing/"
>
Contribute <i class="fas fa-pencil-alt ml-2"></i>
</a>
<div class="mx-auto mt-5">
{{<blocks/link-down color="light">}}
</div>
</div>
{{</blocks/cover>}}
{{< blocks/section >}}
@@ -18,5 +35,3 @@ New users are always welcome!
{{< /blocks/section >}}

View File

@@ -414,7 +414,7 @@ A chunk of code used by kustomize, but not necessarily
compiled into kustomize, to generate and/or transform a
kubernetes resource as part of a kustomization.
Details [here](plugins).
Details [here](../../guides/plugins).
## resource

View File

@@ -11,7 +11,7 @@ description: >
Additionally, generatorOptions can be set on a per resource level within each
generator. For details on per-resource generatorOptions usage see
[field-name-configMapGenerator] and See [field-name-secretGenerator].
[field-name-configMapGenerator](/kustomize/api-reference/kustomization/configmapgenerator) and See [field-name-secretGenerator](/kustomize/api-reference/kustomization/secretgenerator).
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1

View File

@@ -287,11 +287,6 @@ commonLabels:
Adds namespace to all resources
```
namespace: my-namespace
```
Adds namespace to all resources
```
namespace: my-namespace
```

View File

@@ -7,7 +7,7 @@ description: >
---
This is a (no reading allowed!) 60 second copy/paste guided
example. Full plugin docs [here](README.md).
example. Full plugin docs [here](..).
This demo writes and uses a somewhat ridiculous
_exec_ plugin (written in bash) that generates a