website www host, dns ipv6

This commit is contained in:
viktorbarzin 2021-02-25 21:55:00 +00:00
parent 70d309753d
commit 5b742e5b70
4 changed files with 28 additions and 14 deletions

View file

@ -129,5 +129,17 @@ resource "kubernetes_ingress" "blog" {
} }
} }
} }
rule {
host = "www.viktorbarzin.me"
http {
path {
path = "/"
backend {
service_name = "blog"
service_port = "80"
}
}
}
}
} }
} }

View file

@ -63,16 +63,16 @@ resource "kubernetes_deployment" "drone_server" {
container { container {
image = "drone/drone:1" image = "drone/drone:1"
name = "drone-server" name = "drone-server"
resources { # resources {
limits = { # limits = {
cpu = "1" # cpu = "1"
memory = "1Gi" # memory = "1Gi"
} # }
requests = { # requests = {
cpu = "500m" # cpu = "500m"
memory = "1Gi" # memory = "1Gi"
} # }
} # }
port { port {
container_port = 80 container_port = 80
} }

View file

@ -136,10 +136,10 @@ module "privatebin" {
depends_on = [null_resource.core_services] depends_on = [null_resource.core_services]
} }
module "vault" { # module "vault" {
source = "./vault" # source = "./vault"
tls_secret_name = var.tls_secret_name # tls_secret_name = var.tls_secret_name
} # }
module "webhook_handler" { module "webhook_handler" {
source = "./webhook_handler" source = "./webhook_handler"

View file

@ -48,6 +48,8 @@ grafana.ini:
logs: "/var/log/grafana" logs: "/var/log/grafana"
plugins: "/var/lib/grafana/plugins" plugins: "/var/lib/grafana/plugins"
provisioning: "/etc/grafana/provisioning" provisioning: "/etc/grafana/provisioning"
security:
allow_embedding: true # Allow to be iframed
dashboards: dashboards:
default: default:
node_exporter: node_exporter: