init: copy from lawndale-infra

This commit is contained in:
2022-05-27 02:51:52 +02:00
commit 6a60d271bf
18 changed files with 1126 additions and 0 deletions

25
coredns.tf Normal file
View File

@@ -0,0 +1,25 @@
resource "helm_release" "coredns" {
name = "coredns"
namespace = "kube-system"
create_namespace = false
repository = "https://coredns.github.io/helm"
chart = "coredns"
atomic = true
values = [
jsonencode({
service = {
clusterIP = local.cluster_dns
}
}),
jsonencode({
customLabels = {
"prometheus.io/scrape" = "true"
"prometheus.io/port" = "9153"
}
})
]
}