We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75a0455 commit 53a38d9Copy full SHA for 53a38d9
README.md
@@ -133,6 +133,7 @@ Here's the gist of using it directly from github.
133
134
| Name | Description | Type | Default | Required |
135
|------|-------------|------|---------|:--------:|
136
+| app | A Release is an instance of a chart running in a Kubernetes cluster. | `map` | `{}` | no |
137
| app\_deploy | whther or not to deploy app | `bool` | `true` | no |
138
| bucket | Backup and Restore bucket. | `string` | n/a | yes |
139
| cluster\_name | Cluster name. | `string` | n/a | yes |
@@ -143,7 +144,6 @@ Here's the gist of using it directly from github.
143
144
| repository | VMware Tanzu repository for Helm repos. | `string` | `"https://vmware-tanzu.github.io/helm-charts"` | no |
145
| tags | A mapping of tags to assign to the object. | `map` | `{}` | no |
146
| values | List of values in raw yaml to pass to helm. Values will be merged. | `list(string)` | n/a | yes |
-| vars | A Release is an instance of a chart running in a Kubernetes cluster. | `map` | `{}` | no |
147
148
## Outputs
149
main.tf
@@ -19,12 +19,12 @@ resource helm_release this {
19
namespace = local.namespace
20
repository = var.repository
21
22
- force_update = lookup(var.vars, "force_update", true)
23
- wait = lookup(var.vars, "wait", true)
24
- recreate_pods = lookup(var.vars, "recreate_pods", true)
25
- max_history = lookup(var.vars, "max_history", 0)
26
- lint = lookup(var.vars, "lint", true)
27
- version = lookup(var.vars, "version", "2.12.0")
+ force_update = lookup(var.app, "force_update", true)
+ wait = lookup(var.app, "wait", true)
+ recreate_pods = lookup(var.app, "recreate_pods", true)
+ max_history = lookup(var.app, "max_history", 1)
+ lint = lookup(var.app, "lint", true)
+ version = lookup(var.app, "version", "2.12.0")
28
29
values = concat(var.values, list(<<EOF
30
serviceAccount:
variables.tf
@@ -49,7 +49,7 @@ variable "values" {
49
type = list(string)
50
}
51
52
-variable "vars" {
+variable "app" {
53
description = "A Release is an instance of a chart running in a Kubernetes cluster."
54
type = map
55
default = {}
0 commit comments