From f55599ee1266b10238639fa7290942f7960bc641 Mon Sep 17 00:00:00 2001 From: BBBmau Date: Fri, 5 Aug 2022 06:52:34 -0700 Subject: [PATCH 1/4] update-set-docs --- website/docs/r/release.html.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/docs/r/release.html.markdown b/website/docs/r/release.html.markdown index 6e303b84d0..d1791a4764 100644 --- a/website/docs/r/release.html.markdown +++ b/website/docs/r/release.html.markdown @@ -129,6 +129,15 @@ The `set` and `set_sensitive` blocks support: * `value` - (Required) value of the variable to be set. * `type` - (Optional) type of the variable to be set. Valid options are `auto` and `string`. +Since Terraform Utilizes HCL as well as Helm using the Helm Template Language, it's necessary to escape certain characters twice in order for it to be parsed. `name` should also be the path that leads to the desired value, where `value` is the desired value that will be set. + +```hcl +set { + name = "grafana.ingress.annotations\\.alb\\.ingress\\.kubernetes\\.io/group\\.name" + value = "shared-ingress" +} +``` + The `postrender` block supports two attributes: * `binary_path` - (Required) relative or full path to command binary. From 8b1e0880ba1afe6a07d2278766de7be1c1f170ab Mon Sep 17 00:00:00 2001 From: BBBmau Date: Fri, 5 Aug 2022 07:04:14 -0700 Subject: [PATCH 2/4] update doc to specify upgrading chart version --- website/docs/d/template.html.markdown | 2 +- website/docs/r/release.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/d/template.html.markdown b/website/docs/d/template.html.markdown index a4738c2675..8166974a28 100644 --- a/website/docs/d/template.html.markdown +++ b/website/docs/d/template.html.markdown @@ -124,7 +124,7 @@ The following arguments are supported: * `repository_username` - (Optional) Username for HTTP basic authentication against the repository. * `repository_password` - (Optional) Password for HTTP basic authentication against the repository. * `devel` - (Optional) Use chart development versions, too. Equivalent to version '>0.0.0-0'. If version is set, this is ignored. -* `version` - (Optional) Specify the exact chart version to install. If this is not specified, the latest version is installed. +* `version` - (Optional) Specify the exact chart version to install. If this is not specified, the latest version is installed. `helm_release` will not automatically grab the latest release, version must explicitly upgraded when upgrading an installed chart. * `namespace` - (Optional) The namespace to install the release into. Defaults to `default`. * `verify` - (Optional) Verify the package before installing it. Helm uses a provenance file to verify the integrity of the chart; this must be hosted alongside the chart. For more information see the [Helm Documentation](https://helm.sh/docs/topics/provenance/). Defaults to `false`. * `keyring` - (Optional) Location of public keys used for verification. Used only if `verify` is true. Defaults to `/.gnupg/pubring.gpg` in the location set by `home` diff --git a/website/docs/r/release.html.markdown b/website/docs/r/release.html.markdown index d1791a4764..42bf623bf9 100644 --- a/website/docs/r/release.html.markdown +++ b/website/docs/r/release.html.markdown @@ -94,7 +94,7 @@ The following arguments are supported: * `repository_username` - (Optional) Username for HTTP basic authentication against the repository. * `repository_password` - (Optional) Password for HTTP basic authentication against the repository. * `devel` - (Optional) Use chart development versions, too. Equivalent to version '>0.0.0-0'. If version is set, this is ignored. -* `version` - (Optional) Specify the exact chart version to install. If this is not specified, the latest version is installed. +* `version` - (Optional) Specify the exact chart version to install. If this is not specified, the latest version is installed. `helm_release` will not automatically grab the latest release, version must explicitly upgraded when upgrading an installed chart. * `namespace` - (Optional) The namespace to install the release into. Defaults to `default`. * `verify` - (Optional) Verify the package before installing it. Helm uses a provenance file to verify the integrity of the chart; this must be hosted alongside the chart. For more information see the [Helm Documentation](https://helm.sh/docs/topics/provenance/). Defaults to `false`. * `keyring` - (Optional) Location of public keys used for verification. Used only if `verify` is true. Defaults to `/.gnupg/pubring.gpg` in the location set by `home` From 695f8a2a692dbc7915ad884afae1584ad47d3b05 Mon Sep 17 00:00:00 2001 From: BBBmau Date: Fri, 5 Aug 2022 07:17:18 -0700 Subject: [PATCH 3/4] update lint --- website/docs/r/release.html.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/website/docs/r/release.html.markdown b/website/docs/r/release.html.markdown index 42bf623bf9..a12728f9b5 100644 --- a/website/docs/r/release.html.markdown +++ b/website/docs/r/release.html.markdown @@ -130,7 +130,6 @@ The `set` and `set_sensitive` blocks support: * `type` - (Optional) type of the variable to be set. Valid options are `auto` and `string`. Since Terraform Utilizes HCL as well as Helm using the Helm Template Language, it's necessary to escape certain characters twice in order for it to be parsed. `name` should also be the path that leads to the desired value, where `value` is the desired value that will be set. - ```hcl set { name = "grafana.ingress.annotations\\.alb\\.ingress\\.kubernetes\\.io/group\\.name" From 708bec14e97d7dbec1e9035c7b4e152e4c996a5a Mon Sep 17 00:00:00 2001 From: BBBmau Date: Fri, 5 Aug 2022 07:22:55 -0700 Subject: [PATCH 4/4] fix trailing space --- website/docs/r/release.html.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/docs/r/release.html.markdown b/website/docs/r/release.html.markdown index a12728f9b5..f3b9e8a27d 100644 --- a/website/docs/r/release.html.markdown +++ b/website/docs/r/release.html.markdown @@ -129,7 +129,8 @@ The `set` and `set_sensitive` blocks support: * `value` - (Required) value of the variable to be set. * `type` - (Optional) type of the variable to be set. Valid options are `auto` and `string`. -Since Terraform Utilizes HCL as well as Helm using the Helm Template Language, it's necessary to escape certain characters twice in order for it to be parsed. `name` should also be the path that leads to the desired value, where `value` is the desired value that will be set. +Since Terraform Utilizes HCL as well as Helm using the Helm Template Language, it's necessary to escape certain characters twice in order for it to be parsed. `name` should also be the path that leads to the desired value, where `value` is the desired value that will be set. + ```hcl set { name = "grafana.ingress.annotations\\.alb\\.ingress\\.kubernetes\\.io/group\\.name"