docs(api/kustomizaion-file): migrate field sections

This commit is contained in:
Jeong Jinwoo
2023-09-17 16:05:32 +09:00
parent d30e457031
commit 2c444d6bf4
25 changed files with 12 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
title: "Kustomization File" title: "Kustomization File"
linkTitle: "Kustomization File" linkTitle: "Kustomization File"
weight: 1 weight: 1
date: 2023-07-28 date: 2023-09-17
description: > description: >
The Kustomization file is the entry point for Kustomize execution. The Kustomization file is the entry point for Kustomize execution.
--- ---

View File

@@ -18,7 +18,7 @@ kustomize CLI, and removal itself will happen in a future major version bump.
You can run `kustomize edit fix` to automatically convert `bases` to `resources`. You can run `kustomize edit fix` to automatically convert `bases` to `resources`.
{{% /pageinfo %}} {{% /pageinfo %}}
Move entries into the [resources](/docs/reference/api/resources) Move entries into the [resources](/docs/reference/api/kustomization-file/resources)
field. This allows bases - which are still a field. This allows bases - which are still a
[central concept](/docs/concepts/bases) - to be [central concept](/docs/concepts/bases) - to be
ordered relative to other input resources. ordered relative to other input resources.

View File

@@ -7,7 +7,7 @@ description: >
Add labels and selectors to add all resources. Add labels and selectors to add all resources.
--- ---
[labels]: /docs/reference/api/labels/ [labels]: /docs/reference/api/kustomization-file/labels/
Add labels and selectors to all resources. If the label key already is present on the resource, Add labels and selectors to all resources. If the label key already is present on the resource,
the value will be overridden. the value will be overridden.

View File

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

View File

@@ -7,8 +7,8 @@ description: >
Patch resources Patch resources
--- ---
[strategic merge]: /docs/reference/api/patchesstrategicmerge/ [strategic merge]: /docs/reference/api/kustomization-file/patchesstrategicmerge/
[JSON6902]: /docs/reference/api/patchesjson6902/ [JSON6902]: /docs/reference/api/kustomization-file/patchesjson6902/
Patches (also called overlays) add or override fields on resources. They are provided using the Patches (also called overlays) add or override fields on resources. They are provided using the
`patches` Kustomization field. `patches` Kustomization field.

View File

@@ -16,7 +16,7 @@ two releases between deprecation and removal of Kustomization v1beta1 support fr
kustomize CLI, and removal itself will happen in a future major version bump. kustomize CLI, and removal itself will happen in a future major version bump.
Please move your `patchesStrategicMerge` into Please move your `patchesStrategicMerge` into
the [patches](/docs/reference/api/patches) field. This field supports patchesStrategicMerge, the [patches](/docs/reference/api/kustomization-file/patches) field. This field supports patchesStrategicMerge,
but with slightly different syntax. You can run `kustomize edit fix` to automatically convert but with slightly different syntax. You can run `kustomize edit fix` to automatically convert
`patchesStrategicMerge` to `patches`. `patchesStrategicMerge` to `patches`.
{{% /pageinfo %}} {{% /pageinfo %}}

View File

@@ -16,7 +16,7 @@ two releases between deprecation and removal of Kustomization v1beta1 support fr
kustomize CLI, and removal itself will happen in a future major version bump. kustomize CLI, and removal itself will happen in a future major version bump.
Please move your `patchesJson6902` into Please move your `patchesJson6902` into
the [patches](/docs/reference/api/patches) field. This field supports patchesJson6902, the [patches](/docs/reference/api/kustomization-file/patches) field. This field supports patchesJson6902,
but with slightly different syntax. You can run `kustomize edit fix` to automatically convert but with slightly different syntax. You can run `kustomize edit fix` to automatically convert
`patchesJson6902` to `patches`. `patchesJson6902` to `patches`.
{{% /pageinfo %}} {{% /pageinfo %}}

View File

@@ -9,7 +9,7 @@ description: >
Each entry in the argument list results in the creation of one Secret resource (it's a generator of N secrets). 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](/docs/reference/api/configmapgenerator). This works like the [configMapGenerator](/docs/reference/api/kustomization-file/configmapgenerator).
```yaml ```yaml
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1

View File

@@ -7,7 +7,7 @@ description: >
Substitute name references. Substitute name references.
--- ---
[replacements]: /docs/reference/api/replacements/ [replacements]: /docs/reference/api/kustomization-file/replacements/
{{% pageinfo color="warning" %}} {{% pageinfo color="warning" %}}
The `vars` field was deprecated in v5.0.0. This field will never be removed from the The `vars` field was deprecated in v5.0.0. This field will never be removed from the
@@ -18,7 +18,7 @@ two releases between deprecation and removal of Kustomization v1beta1 support fr
kustomize CLI, and removal itself will happen in a future major version bump. kustomize CLI, and removal itself will happen in a future major version bump.
Please try to migrate to the Please try to migrate to the
the [replacements](/docs/reference/api/replacements) field. If you are the [replacements](/docs/reference/api/kustomization-file/replacements) field. If you are
unable to restructure your configuration to use replacements instead of vars, please unable to restructure your configuration to use replacements instead of vars, please
ask for help in slack or file an issue for guidance. ask for help in slack or file an issue for guidance.