kubectl-apply doc: fix link to api types (#5799)
This commit is contained in:
committed by
Steve Perry
parent
56ae2ab14b
commit
b3fc8a3795
+2
-2
@@ -572,7 +572,7 @@ Add, delete, or update individual elements. This does not preserve ordering.
|
|||||||
|
|
||||||
This merge strategy uses a special tag on each field called a `patchMergeKey`. The
|
This merge strategy uses a special tag on each field called a `patchMergeKey`. The
|
||||||
`patchMergeKey` is defined for each field in the Kubernetes source code:
|
`patchMergeKey` is defined for each field in the Kubernetes source code:
|
||||||
[types.go](https://git.k8s.io/kubernetes/pkg/api/v1/types.go#L2119)
|
[types.go](https://git.k8s.io/api/core/v1/types.go#L2565)
|
||||||
When merging a list of maps, the field specified as the `patchMergeKey` for a given element
|
When merging a list of maps, the field specified as the `patchMergeKey` for a given element
|
||||||
is used like a map key for that element.
|
is used like a map key for that element.
|
||||||
|
|
||||||
@@ -646,7 +646,7 @@ by `name`.
|
|||||||
As of Kubernetes 1.5, merging lists of primitive elements is not supported.
|
As of Kubernetes 1.5, merging lists of primitive elements is not supported.
|
||||||
|
|
||||||
**Note:** Which of the above strategies is chosen for a given field is controlled by
|
**Note:** Which of the above strategies is chosen for a given field is controlled by
|
||||||
the `patchStrategy` tag in [types.go](https://git.k8s.io/kubernetes/pkg/api/v1/types.go#L2119)
|
the `patchStrategy` tag in [types.go](https://git.k8s.io/api/core/v1/types.go#L2565)
|
||||||
If no `patchStrategy` is specified for a field of type list, then
|
If no `patchStrategy` is specified for a field of type list, then
|
||||||
the list is replaced.
|
the list is replaced.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user