File tree Expand file tree Collapse file tree 3 files changed +39
-15
lines changed Expand file tree Collapse file tree 3 files changed +39
-15
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ Default: `""`
84
84
85
85
### set-list
86
86
87
- Description: A list of settings to apply to on the helm chart using its parameter ' set { }' . Example:
87
+ Description: A list of additional settings to apply to the helm chart using the terraform ` set{} ` parameter . Example:
88
88
```
89
89
set-list = [
90
90
{
@@ -95,13 +95,21 @@ Description: A list of settings to apply to on the helm chart using its paramete
95
95
]
96
96
```
97
97
98
- Type: ` list(object({name = string, value = string, type = string})) `
98
+ Type:
99
+
100
+ ``` hcl
101
+ list(object({
102
+ name = string,
103
+ value = string,
104
+ type = string,
105
+ }))
106
+ ```
99
107
100
108
Default: ` [] `
101
109
102
110
### values
103
111
104
- Description: A list of values to apply on the helm chart using its parameter 'values = [ ...] '. Example:
112
+ Description: A list of additional values to apply to the helm chart using the 'values = [ ...] ' parameter . Example:
105
113
```
106
114
values = [
107
115
"<yaml>",
@@ -112,8 +120,6 @@ Type: `list(string)`
112
120
113
121
Default: ` [] `
114
122
115
- ###
116
-
117
123
## Outputs
118
124
119
125
No outputs.
Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ resource "helm_release" "cert-manager" {
18
18
}
19
19
20
20
dynamic "set" {
21
- for_each = var. set-list
21
+ for_each = var. set-list
22
22
content {
23
- name = lookup (set . value , " name" , null )
23
+ name = lookup (set . value , " name" , null )
24
24
value = lookup (set . value , " value" , null )
25
- type = lookup (set . value , " type" , null )
25
+ type = lookup (set . value , " type" , null )
26
26
}
27
27
}
28
28
Original file line number Diff line number Diff line change @@ -24,16 +24,34 @@ variable "cluster-issuers-yaml" {
24
24
25
25
variable "set-list" {
26
26
type = list (object ({
27
- name = string ,
27
+ name = string ,
28
28
value = string ,
29
- type = string ,
29
+ type = string ,
30
30
}))
31
- default = []
32
- description = " A list of settings to apply to on the helm chart using its parameter 'set { }' "
31
+ default = []
32
+ description = << EOT
33
+ A list of additional settings to apply to the helm chart using the terraform `set{}` parameter. Example:
34
+ ```
35
+ set-list = [
36
+ {
37
+ "name" = "prometheus.enabled",
38
+ "value" = "false",
39
+ "type" = "auto"
40
+ },
41
+ ]
42
+ ```
43
+ EOT
33
44
}
34
45
35
46
variable "values" {
36
- type = list (string )
37
- default = []
38
- description = " A list of values to apply on the helm chart using its parameter 'values = [...]' "
47
+ type = list (string )
48
+ default = []
49
+ description = << EOT
50
+ A list of additional values to apply to the helm chart using the 'values = [...]' parameter. Example:
51
+ ```
52
+ values = [
53
+ "<yaml>",
54
+ ]
55
+ ```
56
+ EOT
39
57
}
You can’t perform that action at this time.
0 commit comments