-
Notifications
You must be signed in to change notification settings - Fork 3
/
example-app.tf
104 lines (84 loc) · 1.71 KB
/
example-app.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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
resource "helm_release" "nginx_app" {
name = "nginx-app"
repository = "https://charts.bitnami.com/bitnami"
chart = "nginx"
version = "5.1.12"
timeout = 600
depends_on = [google_container_node_pool.apps]
set {
name = "service.type"
value = "NodePort"
}
set {
name = "ingress.enabled"
value = true
}
set {
name = "ingress.certManager"
value = true
}
set {
name = "ingress.hostname"
value = ""
}
set {
name = "ingress.annotations.cert-manager\\.io/cluster-issuer"
value = "letsencrypt"
}
set {
name = "ingress.hosts[0].name"
value = "nginx-app.tietoevry.site"
}
set {
name = "ingress.hosts[0].path"
value = "/*"
}
set {
name = "ingress.hosts[1].name"
value = "fredrik-app.tietoevry.site"
}
set {
name = "ingress.hosts[1].path"
value = "/*"
}
set {
name = "ingress.hosts[2].name"
value = "magnus-app.tietoevry.site"
}
set {
name = "ingress.hosts[2].path"
value = "/*"
}
set {
name = "ingress.hosts[3].name"
value = "tomstian-app.tietoevry.site"
}
set {
name = "ingress.hosts[3].path"
value = "/*"
}
set {
name = "ingress.tls[0].secretName"
value = "example-app-tls"
}
set {
name = "ingress.tls[0].hosts[0]"
value = "nginx-app.tietoevry.site"
}
set {
name = "ingress.tls[0].hosts[0]"
value = "nginx-app.tietoevry.site"
}
set {
name = "ingress.tls[0].hosts[1]"
value = "fredrik-app.tietoevry.site"
}
set {
name = "ingress.tls[0].hosts[2]"
value = "magnus-app.tietoevry.site"
}
set {
name = "ingress.tls[0].hosts[3]"
value = "tomstian-app.tietoevry.site"
}
}