mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 17:06:52 +02:00
fix: Remove all K8s related resources
This commit is contained in:
+31
-31
@@ -1,31 +1,31 @@
|
|||||||
module "api_domain" {
|
# module "api_domain" {
|
||||||
source = "./modules/domain"
|
# source = "./modules/domain"
|
||||||
domain = local.domain
|
# domain = local.domain
|
||||||
subdomain = "api"
|
# subdomain = "api"
|
||||||
ipv4 = module.test_cluster.api_server_ipv4_address
|
# ipv4 = module.test_cluster.api_server_ipv4_address
|
||||||
ipv6 = module.test_cluster.api_server_ipv6_address
|
# ipv6 = module.test_cluster.api_server_ipv6_address
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
module "prometheus_k8s_test_domain" {
|
# module "prometheus_k8s_test_domain" {
|
||||||
source = "./modules/domain"
|
# source = "./modules/domain"
|
||||||
domain = local.domain
|
# domain = local.domain
|
||||||
subdomain = "prometheus.k8s.test"
|
# subdomain = "prometheus.k8s.test"
|
||||||
ipv4 = module.test_cluster.api_server_ipv4_address
|
# ipv4 = module.test_cluster.api_server_ipv4_address
|
||||||
ipv6 = module.test_cluster.api_server_ipv6_address
|
# ipv6 = module.test_cluster.api_server_ipv6_address
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
module "thanos_prometheus_k8s_test_domain" {
|
# module "thanos_prometheus_k8s_test_domain" {
|
||||||
source = "./modules/domain"
|
# source = "./modules/domain"
|
||||||
domain = local.domain
|
# domain = local.domain
|
||||||
subdomain = "thanos.prometheus.k8s.test"
|
# subdomain = "thanos.prometheus.k8s.test"
|
||||||
ipv4 = module.test_cluster.api_server_ipv4_address
|
# ipv4 = module.test_cluster.api_server_ipv4_address
|
||||||
ipv6 = module.test_cluster.api_server_ipv6_address
|
# ipv6 = module.test_cluster.api_server_ipv6_address
|
||||||
}
|
# }
|
||||||
|
#
|
||||||
module "grafana_k8s_monitoring_domain" {
|
# module "grafana_k8s_monitoring_domain" {
|
||||||
source = "./modules/domain"
|
# source = "./modules/domain"
|
||||||
domain = local.domain
|
# domain = local.domain
|
||||||
subdomain = "grafana.k8s.monitoring"
|
# subdomain = "grafana.k8s.monitoring"
|
||||||
ipv4 = module.monitoring_cluster.api_server_ipv4_address
|
# ipv4 = module.monitoring_cluster.api_server_ipv4_address
|
||||||
ipv6 = module.monitoring_cluster.api_server_ipv6_address
|
# ipv6 = module.monitoring_cluster.api_server_ipv6_address
|
||||||
}
|
# }
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
output "ansible_inventory" {
|
# output "ansible_inventory" {
|
||||||
value = templatefile("${path.module}/templates/inventory.tftpl", {
|
# value = templatefile("${path.module}/templates/inventory.tftpl", {
|
||||||
devops = hcloud_server.server_devops.ipv4_address,
|
# devops = hcloud_server.server_devops.ipv4_address,
|
||||||
k8s_servers = concat(
|
# k8s_servers = concat(
|
||||||
module.test_cluster.node_ipv6_addresses
|
# module.test_cluster.node_ipv6_addresses
|
||||||
)
|
# )
|
||||||
})
|
# })
|
||||||
}
|
# }
|
||||||
|
|
||||||
output "swarm_nodes" {
|
output "swarm_nodes" {
|
||||||
value = module.test_swarm_cluster.node_details
|
value = module.test_swarm_cluster.node_details
|
||||||
|
|||||||
Reference in New Issue
Block a user