From bd7f247213c81032612d5c84b70d66abb2e2c400 Mon Sep 17 00:00:00 2001 From: droot Date: Tue, 18 Jul 2023 20:55:42 +0000 Subject: [PATCH] regenerated docs.go for fndocs --- internal/docs/generated/fndocs/docs.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/docs/generated/fndocs/docs.go b/internal/docs/generated/fndocs/docs.go index 1bfa6bb5ef..e1afc24bbb 100644 --- a/internal/docs/generated/fndocs/docs.go +++ b/internal/docs/generated/fndocs/docs.go @@ -274,6 +274,11 @@ Flags: can perform privileged operations on your system, so ensure that binaries referred in the pipeline are trusted and safe to execute. + --allow-network: + Allow functions to access network during pipeline execution. If unspecified, + ` + "`" + `false` + "`" + ` will be the default. Note that this is applicable for container + based functions only. + --image-pull-policy: If the image should be pulled before rendering the package(s). It can be set to one of always, ifNotPresent, never. If unspecified, always will be the @@ -324,6 +329,9 @@ var RenderExamples = ` # Render my-package-dir with podman as runtime for functions $ KPT_FN_RUNTIME=podman kpt fn render my-package-dir + + # Render my-package-dir with network access enabled for functions + $ kpt fn render --allow-network ` var SinkShort = `Write resources to a local directory`