website www host, dns ipv6
This commit is contained in:
parent
70d309753d
commit
5b742e5b70
4 changed files with 28 additions and 14 deletions
|
|
@ -129,5 +129,17 @@ resource "kubernetes_ingress" "blog" {
|
|||
}
|
||||
}
|
||||
}
|
||||
rule {
|
||||
host = "www.viktorbarzin.me"
|
||||
http {
|
||||
path {
|
||||
path = "/"
|
||||
backend {
|
||||
service_name = "blog"
|
||||
service_port = "80"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,16 +63,16 @@ resource "kubernetes_deployment" "drone_server" {
|
|||
container {
|
||||
image = "drone/drone:1"
|
||||
name = "drone-server"
|
||||
resources {
|
||||
limits = {
|
||||
cpu = "1"
|
||||
memory = "1Gi"
|
||||
}
|
||||
requests = {
|
||||
cpu = "500m"
|
||||
memory = "1Gi"
|
||||
}
|
||||
}
|
||||
# resources {
|
||||
# limits = {
|
||||
# cpu = "1"
|
||||
# memory = "1Gi"
|
||||
# }
|
||||
# requests = {
|
||||
# cpu = "500m"
|
||||
# memory = "1Gi"
|
||||
# }
|
||||
# }
|
||||
port {
|
||||
container_port = 80
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,10 +136,10 @@ module "privatebin" {
|
|||
depends_on = [null_resource.core_services]
|
||||
}
|
||||
|
||||
module "vault" {
|
||||
source = "./vault"
|
||||
tls_secret_name = var.tls_secret_name
|
||||
}
|
||||
# module "vault" {
|
||||
# source = "./vault"
|
||||
# tls_secret_name = var.tls_secret_name
|
||||
# }
|
||||
|
||||
module "webhook_handler" {
|
||||
source = "./webhook_handler"
|
||||
|
|
|
|||
|
|
@ -48,6 +48,8 @@ grafana.ini:
|
|||
logs: "/var/log/grafana"
|
||||
plugins: "/var/lib/grafana/plugins"
|
||||
provisioning: "/etc/grafana/provisioning"
|
||||
security:
|
||||
allow_embedding: true # Allow to be iframed
|
||||
dashboards:
|
||||
default:
|
||||
node_exporter:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue