-
Notifications
You must be signed in to change notification settings - Fork 45
/
helm_chart_museum.tf
58 lines (44 loc) · 1008 Bytes
/
helm_chart_museum.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
resource "helm_release" "chart_museum" {
count = var.enable_chart_museum ? 1 : 0
name = "chartmuseum"
namespace = "chartmuseum"
create_namespace = true
repository = "https://chartmuseum.github.io/charts"
chart = "chartmuseum"
set {
name = "serviceAccount.create"
value = true
}
set {
name = "serviceAccount.annotations.eks\\.amazonaws\\.com/role-arn"
value = aws_iam_role.chartmuseum[count.index].arn
}
set {
name = "env.open.DISABLE_API"
value = "false"
}
set {
name = "env.open.STORAGE"
value = "amazon"
}
set {
name = "env.open.AWS_SDK_LOAD_CONFIG"
value = "true"
}
set {
name = "env.open.STORAGE_AMAZON_BUCKET"
value = aws_s3_bucket.museum[count.index].id
}
set {
name = "env.open.STORAGE_AMAZON_REGION"
value = var.aws_region
}
set {
name = "env.open.DEBUG"
value = "true"
}
set {
name = "env.open.DISABLE_STATEFILES"
value = "true"
}
}