update CSP to allow rybbit for some ingresses [ci skip]

This commit is contained in:
Viktor Barzin 2025-12-18 10:56:44 +00:00
parent a225bad3cb
commit 73feb9cc46

View file

@ -89,10 +89,13 @@ resource "kubernetes_service" "privatebin" {
}
module "ingress" {
source = "../ingress_factory"
namespace = "privatebin"
name = "privatebin"
host = "pb"
tls_secret_name = var.tls_secret_name
rybbit_site_id = "3ae810b0476d"
source = "../ingress_factory"
namespace = "privatebin"
name = "privatebin"
host = "pb"
tls_secret_name = var.tls_secret_name
rybbit_site_id = "3ae810b0476d"
additional_configuration_snippet = <<-EOF
more_set_headers "Content-Security-Policy: script-src 'self' 'unsafe-inline' 'unsafe-eval' 'wasm-unsafe-eval' https://rybbit.viktorbarzin.me";
EOF
}