From 9195f05bbad5a4f58cffc5540256ac1c9d40c8fb Mon Sep 17 00:00:00 2001 From: Donny Xia Date: Mon, 27 Apr 2020 11:32:10 -0700 Subject: [PATCH] Update document --- docs/howItWorks.md | 3 +-- docs/inventory_object.md | 6 +++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/howItWorks.md b/docs/howItWorks.md index 090ade175..252cfcb8a 100644 --- a/docs/howItWorks.md +++ b/docs/howItWorks.md @@ -47,5 +47,4 @@ Call stack when running `kustomize build`, with links to code. * The following steps must be done last, not as part of the recursion implicit in AccumulateTarget. * [addHashesToNames](https://github.com/kubernetes-sigs/kustomize/blob/c7d78970fb86782dbdded3a93944b774f826071f/api/internal/target/kusttarget.go#L153) * [FixBackReferences](https://github.com/kubernetes-sigs/kustomize/blob/c7d78970fb86782dbdded3a93944b774f826071f/api/internal/accumulator/resaccumulator.go#L160): Given that names have changed (prefixs/suffixes added), fix all the back references to those names. - * [ResolveVars](https://github.com/kubernetes-sigs/kustomize/blob/c7d78970fb86782dbdded3a93944b774f826071f/api/internal/accumulator/resaccumulator.go#L141) - * [computeInventory](https://github.com/kubernetes-sigs/kustomize/blob/c7d78970fb86782dbdded3a93944b774f826071f/api/internal/target/kusttarget.go#L163) + * [ResolveVars](https://github.com/kubernetes-sigs/kustomize/blob/c7d78970fb86782dbdded3a93944b774f826071f/api/internal/accumulator/resaccumulator.go#L141) \ No newline at end of file diff --git a/docs/inventory_object.md b/docs/inventory_object.md index ab2bc0575..3367ebf54 100644 --- a/docs/inventory_object.md +++ b/docs/inventory_object.md @@ -1,4 +1,8 @@ -# inventory directive in kustomization.yaml +# [DEPRECATED] inventory directive in kustomization.yaml + +**Inventory object has been deprecated in Kustomize. Please use [kpt live apply](https://googlecontainertools.github.io/kpt/reference/live/apply/).** + +--- New in v2.1.0, a kustomization file may have an `inventory` field: ```yaml