From 25960c7a044e4b1c016a4f4328b5ba46e57bff10 Mon Sep 17 00:00:00 2001 From: Kerry Gougeon Date: Wed, 13 Dec 2023 21:26:57 -0500 Subject: [PATCH] Update functions_and_pipelines.md (#1522) Change lookup's description to reflect change on https://github.com/helm/helm/pull/9426 Signed-off-by: Kerry Gougeon --- .../docs/chart_template_guide/functions_and_pipelines.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/content/en/docs/chart_template_guide/functions_and_pipelines.md b/content/en/docs/chart_template_guide/functions_and_pipelines.md index 1694cc199..671a7b3d3 100644 --- a/content/en/docs/chart_template_guide/functions_and_pipelines.md +++ b/content/en/docs/chart_template_guide/functions_and_pipelines.md @@ -242,9 +242,10 @@ to query Kubernetes. If any error is returned when interacting with calling the API server (for example due to lack of permission to access a resource), helm's template processing will fail. -Keep in mind that Helm is not supposed to contact the Kubernetes API Server -during a `helm template` or a `helm install|upgrade|delete|rollback --dry-run`, -so the `lookup` function will return an empty list (i.e. dict) in such a case. +Keep in mind that Helm is not supposed to contact the Kubernetes API Server during +a `helm template|install|upgrade|delete|rollback --dry-run` operation. To test `lookup` +against a running cluster, `helm template|install|upgrade|delete|rollback --dry-run=server` +should be used instead to allow cluster connection. ## Operators are functions