creating the configmap, not used yet by netdata
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 57s
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 57s
This commit is contained in:
+10
-10
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user