replace root.path with module.path for dashy conf [ci skip]
This commit is contained in:
parent
267c5668c9
commit
7ca14aa7df
3 changed files with 12 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
11
modules/kubernetes/localai/main.tf
Normal file
11
modules/kubernetes/localai/main.tf
Normal 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.
Loading…
Add table
Add a link
Reference in a new issue