Redirect kustomize docs to the new unified site.

This commit is contained in:
Phillip Wittrock
2020-11-04 11:15:40 -08:00
parent d8d57eae29
commit 0834e152b2
48 changed files with 119 additions and 0 deletions

View File

@@ -9,3 +9,5 @@ menu:
description: >
Reference for Kustomize client-side APIs
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/" />

View File

@@ -7,6 +7,9 @@ description: >
Glossary of terms
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/glossary/" />
# Glossary
[CRD spec]: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/

View File

@@ -7,5 +7,6 @@ description: >
kustomization.yaml fields and API
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/" />

View File

@@ -6,6 +6,8 @@ description: >
Add resources from a kustomization dir.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/bases/" />
{{% pageinfo color="warning" %}}
The `bases` field was deprecated in v2.1.0
{{% /pageinfo %}}

View File

@@ -6,6 +6,8 @@ description: >
Add annotations to all resources.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/commonannotations/" />
Add annotations to all resources. If the annotation key is already present on the resource,
the value will be overridden.

View File

@@ -6,6 +6,9 @@ description: >
Add labels and selectors to add all resources.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/commonlabels/" />
Add labels and selectors to all resources. If the label key already is present on the resource,
the value will be overridden.

View File

@@ -6,4 +6,7 @@ description: >
Compose kustomizations.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/components/" />
*Coming soon*

View File

@@ -6,6 +6,9 @@ description: >
Generate ConfigMap resources.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/configmapgenerator/" />
Each entry in this list results in the creation of
one ConfigMap resource (it's a generator of n maps).

View File

@@ -6,6 +6,9 @@ description: >
Adding CRD support
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/crds/" />
Each entry in this list should be a relative path to
a file for custom resource definition (CRD).

View File

@@ -7,6 +7,7 @@ description: >
[Secret](/kustomize/api-reference/kustomization/secretgenerator) generators.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/generatoroptions/" />
Additionally, generatorOptions can be set on a per resource level within each

View File

@@ -6,6 +6,9 @@ description: >
Modify the name, tags and/or digest for images.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/images/" />
Images modify the name, tags and/or digest for images without creating patches. E.g. Given this
kubernetes Deployment fragment:

View File

@@ -6,6 +6,9 @@ description: >
Prepends the value to the names of all resources and references.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/nameprefix/" />
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

View File

@@ -6,6 +6,9 @@ description: >
Adds namespace to all resources.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/namespace/" />
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

View File

@@ -6,6 +6,9 @@ description: >
Appends the value to the names of all resources and references.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/namesuffix/" />
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

View File

@@ -6,6 +6,9 @@ description: >
Patch resources
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/patches/" />
[strategic merge]: /kustomize/api-reference/glossary#patchstrategicmerge
[JSON]: /kustomize/api-reference/glossary#patchjson6902

View File

@@ -6,6 +6,9 @@ description: >
Patch resources using the strategic merge patch standard.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/patchesstrategicmerge/" />
Each entry in this list should be either a relative
file path or an inline content
resolving to a partial or complete resource

View File

@@ -6,6 +6,9 @@ description: >
Patch resources using the [json 6902 standard](https://tools.ietf.org/html/rfc6902)
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/patchesjson6902/" />
Each entry in this list should resolve to a kubernetes object and a JSON patch that will be applied
to the object.
The JSON patch is documented at <https://tools.ietf.org/html/rfc6902>

View File

@@ -6,6 +6,9 @@ description: >
Change the number of replicas for a resource.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/replicas/" />
Given this kubernetes Deployment fragment:
```

View File

@@ -6,6 +6,9 @@ description: >
Resources to include.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/resources/" />
Each entry in this list must be a path to a _file_, or a path (or URL) referring to another
kustomization _directory_, e.g.

View File

@@ -6,6 +6,9 @@ description: >
Generate Secret resources.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/secretegenerator/" />
Each entry in the argument list results in the creation of one Secret resource (it's a generator of N secrets).
This works like the [configMapGenerator](/kustomize/api-reference/kustomization/configmapgenerator).

View File

@@ -6,6 +6,9 @@ description: >
Substitute name references.
---
<meta http-equiv="refresh" content="0; url=https://kubectl.docs.kubernetes.io/references/kustomize/vars/" />
Vars are used to capture text from one resource's field
and insert that text elsewhere - a reflection feature.