From 1433ea4faa70c77cf591ffa59bd2d62511189297 Mon Sep 17 00:00:00 2001 From: Jonathan Wong Date: Mon, 2 Dec 2019 01:55:20 -0800 Subject: [PATCH 1/2] Fix two typos --- cmd/config/docs/commands/run-fns.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/config/docs/commands/run-fns.md b/cmd/config/docs/commands/run-fns.md index 30c67aef1..d41569219 100644 --- a/cmd/config/docs/commands/run-fns.md +++ b/cmd/config/docs/commands/run-fns.md @@ -6,7 +6,7 @@ [Alpha] Reconcile config functions to Resources. -run sequentially invokes all config functions in the directly, providing Resources +run sequentially invokes all config functions in the directory, providing Resources in the directory as input to the first function, and writing the output of the last function back to the directory. @@ -43,7 +43,7 @@ order they appear in the file). In the preceding example, 'kustomize config run example/' would identify the function by the metadata.configFn field. It would then write all Resources in the directory to a container stdin (running the gcr.io/example/examplefunction:v1.0.1 image). It - would then writer the container stdout back to example/, replacing the directory + would then write the container stdout back to example/, replacing the directory file contents. See `kustomize config help docs-fn` for more details on writing functions. From 49287a0f8fdf99447e232656d8778d3035133d1e Mon Sep 17 00:00:00 2001 From: Jonathan Wong Date: Mon, 2 Dec 2019 02:01:00 -0800 Subject: [PATCH 2/2] Fix verb noun agreement mistake --- cmd/config/docs/commands/run-fns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config/docs/commands/run-fns.md b/cmd/config/docs/commands/run-fns.md index d41569219..89f9885d1 100644 --- a/cmd/config/docs/commands/run-fns.md +++ b/cmd/config/docs/commands/run-fns.md @@ -23,7 +23,7 @@ order they appear in the file). #### Config Functions: Config functions are specified as Kubernetes types containing a metadata.configFn.container.image - field. This fields tells run how to invoke the container. + field. This field tells run how to invoke the container. Example config function: