creating the configmap, not used yet by netdata
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 57s

This commit is contained in:
2026-08-04 16:18:37 +01:00
parent 0b09d50e7f
commit 763788d455
5 changed files with 159 additions and 121 deletions
+10 -10
View File
@@ -55,17 +55,17 @@ resource "kubernetes_config_map" "deny_ip_configmap" {
}
}
#resource "kubernetes_config_map" "websites_configmap" {
# metadata {
# name = "sites-terraform"
# namespace = "django-python"
# }
resource "kubernetes_config_map" "websites_configmap" {
metadata {
name = "sites-terraform"
namespace = "netdata"
}
# data = {
# "websites.json" = templatefile("websites_terraform.json.tftpl", {
# map_of_params = var.nginx_sites })
# }
#}
data = {
"websites.json" = templatefile("httpcheck.yaml.tftpl", {
map_of_params = var.nginx_sites })
}
}
resource "kubernetes_config_map" "automatic-configmap" {