From 196b2e858a7cd4f51cb26fc3ca310ce0cb235abf Mon Sep 17 00:00:00 2001 From: wanjunlei Date: Mon, 29 May 2023 17:56:23 +0800 Subject: [PATCH 1/2] update docs Signed-off-by: wanjunlei --- content/en/docs/concepts/build_strategy.md | 2 ++ content/en/docs/concepts/function_trigger.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/content/en/docs/concepts/build_strategy.md b/content/en/docs/concepts/build_strategy.md index c0a75a19..2498b5bc 100644 --- a/content/en/docs/concepts/build_strategy.md +++ b/content/en/docs/concepts/build_strategy.md @@ -21,6 +21,8 @@ The following are the parameters of the `openfunction` ClusterBuildStrategy: | Name | Type | Describe | | --- | --- | --- | | RUN_IMAGE | string | Reference to a run image to use | +| CACHE_IMAGE | string | Cache Images are a way to preserve build optimizing layers across different host machines. These images can improve performance in ephemeral environments such as Java functions. | +| BASH_IMAGE | string | The bash image that the strategy used. | | ENV_VARS | string | Environment variables to set during _build-time_. The formate is `key1=value1,key2=value2`. | Users can set these parameters like this: diff --git a/content/en/docs/concepts/function_trigger.md b/content/en/docs/concepts/function_trigger.md index faaf5afd..992e7548 100644 --- a/content/en/docs/concepts/function_trigger.md +++ b/content/en/docs/concepts/function_trigger.md @@ -4,7 +4,7 @@ linkTitle: "Function Trigger" weight: 3200 description: --- -Function `Triggers` are used to define how to trigger a function. Currently, there are two kinds of triggers: `HTTP Trigger`, and `Dapr Trigger`. +Function `Triggers` are used to define how to trigger a function. Currently, there are two kinds of triggers: `HTTP Trigger`, and `Dapr Trigger`. The default trigger is `HTTP trigger`. ## HTTP Trigger From ad11307e1e668a6b1adaff064f3c07c05befd5cb Mon Sep 17 00:00:00 2001 From: Benjamin Huo Date: Thu, 1 Jun 2023 10:21:16 +0800 Subject: [PATCH 2/2] Update content/en/docs/concepts/build_strategy.md --- content/en/docs/concepts/build_strategy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/concepts/build_strategy.md b/content/en/docs/concepts/build_strategy.md index 2498b5bc..d8ee56b1 100644 --- a/content/en/docs/concepts/build_strategy.md +++ b/content/en/docs/concepts/build_strategy.md @@ -21,7 +21,7 @@ The following are the parameters of the `openfunction` ClusterBuildStrategy: | Name | Type | Describe | | --- | --- | --- | | RUN_IMAGE | string | Reference to a run image to use | -| CACHE_IMAGE | string | Cache Images are a way to preserve build optimizing layers across different host machines. These images can improve performance in ephemeral environments such as Java functions. | +| CACHE_IMAGE | string | Cache Image is a way to preserve cache layers across different builds, which can improve build performance when building functions or applications with lots of dependencies like Java functions. | | BASH_IMAGE | string | The bash image that the strategy used. | | ENV_VARS | string | Environment variables to set during _build-time_. The formate is `key1=value1,key2=value2`. |