From f3c0ce54c82748fd50e3f0e485693e0401e102d6 Mon Sep 17 00:00:00 2001 From: Gergely Csatari Date: Wed, 28 Oct 2026 16:05:08 +0200 Subject: [PATCH 1/2] [DOCS]: Fix `kpt fn sink` documentation Signed-off-by: Gergely Csatari --- documentation/content/en/reference/cli/fn/source/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/content/en/reference/cli/fn/source/_index.md b/documentation/content/en/reference/cli/fn/source/_index.md index 4f933463b7..59909b4e13 100644 --- a/documentation/content/en/reference/cli/fn/source/_index.md +++ b/documentation/content/en/reference/cli/fn/source/_index.md @@ -62,10 +62,10 @@ $ kpt fn source DIR ```shell # read resources from DIR directory, execute my-fn on them and write the -# output to DIR directory. +# output to OTHER_DIR directory. $ kpt fn source DIR | kpt fn eval - --image ghcr.io/example.com/my-fn - | - kpt fn sink DIR + kpt fn sink OTHER_DIR ``` From 9a845198f2f6b9673b0c72270ca49ea39fbde116 Mon Sep 17 00:00:00 2001 From: Gergely Csatari Date: Thu, 29 Oct 2026 10:16:26 +0200 Subject: [PATCH 2/2] Updating CLI documentation Signed-off-by: Gergely Csatari --- internal/docs/generated/fndocs/docs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/docs/generated/fndocs/docs.go b/internal/docs/generated/fndocs/docs.go index 0b2b24a16e..63f3770b99 100644 --- a/internal/docs/generated/fndocs/docs.go +++ b/internal/docs/generated/fndocs/docs.go @@ -441,8 +441,8 @@ var SourceExamples = ` $ kpt fn source DIR # read resources from DIR directory, execute my-fn on them and write the - # output to DIR directory. + # output to OTHER_DIR directory. $ kpt fn source DIR | kpt fn eval - --image ghcr.io/example.com/my-fn - | - kpt fn sink DIR + kpt fn sink OTHER_DIR `