mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
add zh docsy
This commit is contained in:
@@ -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 >}}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -287,11 +287,6 @@ commonLabels:
|
||||
|
||||
Adds namespace to all resources
|
||||
|
||||
```
|
||||
namespace: my-namespace
|
||||
```
|
||||
Adds namespace to all resources
|
||||
|
||||
```
|
||||
namespace: my-namespace
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user