From 1493a42d54f29df5850a8ace2f12dd38e5629db5 Mon Sep 17 00:00:00 2001 From: Daishan Peng Date: Fri, 14 Sep 2018 17:21:43 -0700 Subject: [PATCH 1/2] add helm doc for answers field --- content/rancher/v2.x/en/catalog/_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/rancher/v2.x/en/catalog/_index.md b/content/rancher/v2.x/en/catalog/_index.md index da42806e49f..1856161b032 100644 --- a/content/rancher/v2.x/en/catalog/_index.md +++ b/content/rancher/v2.x/en/catalog/_index.md @@ -88,6 +88,7 @@ After you've either enabled the built-in catalogs or added your own custom catal * For native Helm charts (i.e., charts from the **Helm Stable** or **Helm Incubator** catalogs), answers are provided as key value pairs in the **Answers** section. * Keys and values are available within **Detailed Descriptions**. + * Answers in rancher are ultimately passed as `--set` flags in helm. To see the format of the answer, check [here](https://github.com/helm/helm/blob/master/docs/using_helm.md#the-format-and-limitations-of---set) 7. Review the files in **Preview**. When you're satisfied, click **Launch**. From 4e062d5c4a8cc417bd4ffbade5b00514357f72ef Mon Sep 17 00:00:00 2001 From: Mark Bishop Date: Thu, 27 Sep 2018 19:29:53 -0700 Subject: [PATCH 2/2] adding note about Helm flag syntax rules for declaring answers in Rancher UI --- content/rancher/v2.x/en/catalog/_index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/rancher/v2.x/en/catalog/_index.md b/content/rancher/v2.x/en/catalog/_index.md index 1856161b032..1756324f2fe 100644 --- a/content/rancher/v2.x/en/catalog/_index.md +++ b/content/rancher/v2.x/en/catalog/_index.md @@ -88,7 +88,9 @@ After you've either enabled the built-in catalogs or added your own custom catal * For native Helm charts (i.e., charts from the **Helm Stable** or **Helm Incubator** catalogs), answers are provided as key value pairs in the **Answers** section. * Keys and values are available within **Detailed Descriptions**. - * Answers in rancher are ultimately passed as `--set` flags in helm. To see the format of the answer, check [here](https://github.com/helm/helm/blob/master/docs/using_helm.md#the-format-and-limitations-of---set) + * When entering answers, you must format them using the syntax rules found in [Using Helm: The format and limitations of --set](https://github.com/helm/helm/blob/master/docs/using_helm.md#the-format-and-limitations-of---set), as Rancher passes them as `--set` flags to Helm. + + For example, when entering an answer that includes two values separated by a comma (i.e., `abc, bcd`), wrap the values with double quotes (i.e., `"abc, bcd"`). 7. Review the files in **Preview**. When you're satisfied, click **Launch**.