generated from aws-ia/terraform-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 130
/
helm.tf
76 lines (66 loc) · 2.98 KB
/
helm.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
################################################################################
# (Generic) Helm Release
################################################################################
resource "helm_release" "this" {
for_each = var.helm_releases
name = try(each.value.name, each.key)
description = try(each.value.description, null)
namespace = try(each.value.namespace, null)
create_namespace = try(each.value.create_namespace, null)
chart = each.value.chart
version = try(each.value.chart_version, null)
repository = try(each.value.repository, null)
values = try(each.value.values, [])
timeout = try(each.value.timeout, null)
repository_key_file = try(each.value.repository_key_file, null)
repository_cert_file = try(each.value.repository_cert_file, null)
repository_ca_file = try(each.value.repository_ca_file, null)
repository_username = try(each.value.repository_username, null)
repository_password = try(each.value.repository_password, null)
devel = try(each.value.devel, null)
verify = try(each.value.verify, null)
keyring = try(each.value.keyring, null)
disable_webhooks = try(each.value.disable_webhooks, null)
reuse_values = try(each.value.reuse_values, null)
reset_values = try(each.value.reset_values, null)
force_update = try(each.value.force_update, null)
recreate_pods = try(each.value.recreate_pods, null)
cleanup_on_fail = try(each.value.cleanup_on_fail, null)
max_history = try(each.value.max_history, null)
atomic = try(each.value.atomic, null)
skip_crds = try(each.value.skip_crds, null)
render_subchart_notes = try(each.value.render_subchart_notes, null)
disable_openapi_validation = try(each.value.disable_openapi_validation, null)
wait = try(each.value.wait, false)
wait_for_jobs = try(each.value.wait_for_jobs, null)
dependency_update = try(each.value.dependency_update, null)
replace = try(each.value.replace, null)
lint = try(each.value.lint, null)
dynamic "postrender" {
for_each = try([each.value.postrender], [])
content {
binary_path = postrender.value.binary_path
args = try(postrender.value.args, null)
}
}
dynamic "set" {
for_each = try(each.value.set, [])
content {
name = set.value.name
value = set.value.value
type = try(set.value.type, null)
}
}
dynamic "set_sensitive" {
for_each = try(each.value.set_sensitive, [])
content {
name = set_sensitive.value.name
value = set_sensitive.value.value
type = try(set_sensitive.value.type, null)
}
}
depends_on = [
# Wait for EBS CSI, etc. to be installed first
aws_eks_addon.this,
]
}