This commit is contained in:
parent
fb1a3d8581
commit
c2d661576b
1 changed files with 40 additions and 0 deletions
40
main.tf
Normal file
40
main.tf
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
resource "helm_release" "mt5" {
|
||||
name = "mt5"
|
||||
chart = "./charts/mt5"
|
||||
namespace = "trading"
|
||||
create_namespace = true
|
||||
|
||||
# Erster Start installiert Wine + MT5 nach /config – das dauert ein paar Minuten
|
||||
timeout = 900
|
||||
wait = true
|
||||
|
||||
set {
|
||||
name = "image.repository"
|
||||
value = var.image_repository
|
||||
}
|
||||
|
||||
set {
|
||||
name = "image.tag"
|
||||
value = var.app_version
|
||||
}
|
||||
|
||||
set {
|
||||
name = "auth.user"
|
||||
value = var.vnc_user
|
||||
}
|
||||
|
||||
set_sensitive {
|
||||
name = "auth.password"
|
||||
value = var.vnc_password
|
||||
}
|
||||
|
||||
set {
|
||||
name = "ingress.enabled"
|
||||
value = var.ingress_host != "" ? "true" : "false"
|
||||
}
|
||||
|
||||
set {
|
||||
name = "ingress.host"
|
||||
value = var.ingress_host
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue