replace root.path with module.path for dashy conf [ci skip]

This commit is contained in:
Viktor Barzin 2023-10-22 11:39:02 +00:00
parent 267c5668c9
commit 7ca14aa7df
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
3 changed files with 12 additions and 1 deletions

View file

@ -24,7 +24,7 @@ resource "kubernetes_config_map" "config" {
}
data = {
"conf.yml" = file("${path.root}/modules/kubernetes/dashy/conf.yml")
"conf.yml" = file("${path.module}/conf.yml")
}
}

View file

@ -0,0 +1,11 @@
resource "helm_release" "prometheus" {
namespace = "localai"
create_namespace = true
name = "localai"
repository = "https://go-skynet.github.io/helm-charts/"
chart = "local-ai"
# version = "15.0.2"
values = [templatefile("${path.module}/prometheus_chart_values.tpl", { alertmanager_mail_pass = var.alertmanager_account_password, alertmanager_slack_api_url = var.alertmanager_slack_api_url })]
}

Binary file not shown.