add bind ptr zone

This commit is contained in:
viktorbarzin 2021-04-10 01:07:44 +01:00
parent defa514df0
commit 2c97f90bcf
4 changed files with 48 additions and 8 deletions

View file

@ -9,6 +9,9 @@ resource "kubernetes_deployment" "bind" {
"app" = "bind"
"kubernetes.io/cluster-service" : "true"
}
annotations = {
"reloader.stakater.com/search" = "true"
}
}
spec {
replicas = "3"
@ -63,6 +66,11 @@ resource "kubernetes_deployment" "bind" {
sub_path = "db.viktorbarzin.lan"
name = "bindconf"
}
volume_mount {
mount_path = "/etc/bind/db.181.191.213.in-addr.arpa"
sub_path = "db.181.191.213.in-addr.arpa"
name = "bindconf"
}
}
container {
name = "bind-exporter"